Skip to content



Installation Requirements

  • Install Python2.7

    • Make Sure to add Python to the Path, as this is not done by default

    • Add python.exe to the PATH

      python setup python setup

  • Install Django 1.8.7 , Open Command Prompt then type:

    pip install django==1.8.7

Docker Users

  • For Windows Users install make by
    • Installing MSYS2
    • Open MSYS2 shell and Install make using this command pacman -S make
    • Add <msys_path>\usr\bin to PATH envirnment variable
  • Use Docker Quickstart Terminal to execute the following commands

    • Create Cartoview Project which contains required files to run and configure Docker using this command: startproject --template= --name django.env,uwsgi.ini,.bowerrc, <your_project_name>
    • Replace <your_project_name> with the desired name

    • Go to your project Folder

      cd <your_project_name>
    • Open docker-compose.yml and Look at port numbers for GeoServer and PostGIS and change the number before the : this will be the port on your machine


    • Any file with .env EXTENSION is a file that contains Environment Variables passed to specific container for example django.env file contains Environment Variables passed to CartoView container so Django can read these variables and use them
    • Default database username: cartologic and password: root
    • Default database username is in postgis.env file in your project if you want to change it.
    • If you want to run this project with a domain :
      • Fromdjango.env(this is a file that contain common django setting variables) file in your Project Folder:
    • For windows users the default IP aasigned to Docker is : so the default django.env file must be something like this:


    • For windows Users Please Comment volumes lines of postgis Container only in docker-compose.yml by preceding the line with # something like this:
          #   volumes:
          #    - pgdata:/var/lib/postgresql
    • if not working try django-admin
  • Start Docker Images(CartoView,GeoServer,Postgres) type :

    make run


    Now you can Access cartoview on http://localhost or http://<your_domain_or_ip>


    Final step Configure GeoServer before uploading layers from Here

Deployment notes

  • Important

    Once CartoView is installed it is expected to install all the Apps from the app store automatically CartoView will not be able to restart Docker when new apps install. After you install any new app or any app update you will need to restart docker manually until this issue is addressed in the future
    • Follow these steps to get Apps working on nginx
      • Collect static files using this commands in your project folder
        make collect_static
      • Restart server now with the following command you should restart server after installing any App
        docker-compose restart cartoview

Windows Issues

  • Docker volumes have some issues with windows so you have to backup your postgres database.

Docker on Linux

  • You will Find all postgres data in pgdata folder.