This document describes the installation of cartview with geonode Version 2.6.1 on windows

Install On Windows

  • Install Python2.7
    • Make Sure to add the Python in the Path, as this is not setup by default
    • check add python.exe to PATH python setup python setup
  • Install Django 1.8.7 open cmd and type:

    pip install django==1.8.7

We recommend to use Docker

Existing GeoNode Users

Check GeoNode and Cartoview version compatibility in PYPI then install Cartoview

  • Requirements:

    • GeoNode == 2.5.15


    We will Support more version of Geonode Soon!!

  • install cartoview libraries

    pip install cartoview == <version>
  • Create Cartoview Project

    django-admin.py startproject --template=https://github.com/cartologic/cartoview-project-template/archive/master.zip --name django.env,uwsgi.ini,.bowerrc <your_project_name>
  • Go to your Project Folder

    cd <your_project_name>
  • detect Changes in app_manager

    python manage.py makemigrations app_manager
  • create account table

    python manage.py migrate account
  • create rest of database tables

    python manage.py migrate

  • Collect static Files

    python manage.py collectstatic --noinput
  • Now Development Server :

    python manage.py runserver

Deployment notes

  • Important

    in Production Configure Geoserver before uploading layers from here
  • Important

    Once CartoView is installed is expected to install all apps from the app store automatically At the moment CartoView will fully support apache server only For nginx deployments, CartoView will be able to detect new apps and get the updates, how ever to apply the updates, web server restart will be required to complete the process CartoView will not be able to restart nginx when new apps are installed. After you install or update apps from the app manager page you will need to restart nginx manually until this issue is addressed in the future

    • follow these steps to get apps working on nginx
      • collect static files using this commands
        python manage.py collectstatic --noinput
      • restart server now you should restart server after installing any app