Skip to content
This repository has been archived by the owner on Jun 1, 2018. It is now read-only.
/ polis Public archive

This repository contains the city instance of Polis. Together with the Django-WBC Library it is our development repo for the latest features of the WBC platform.

License

Notifications You must be signed in to change notification settings

webuildcity/polis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polis City Demo - powered by the Open Source project We-Build.City

Polis - is the Demo Instance of the Smart City Planning Platform of We-build.City polis.we-build.city

More about the OpenSource project: we-build.city or the company and services: services.we-build.city

How to setup your own city instance:

  1. Have Python 2.7.x installed. (1.1 brew install GDAL )
  2. Clone https://github.com/webuildcity/wbc to a location of your choice.
  3. Clone this repository, https://github.com/webuildcity/polis, to a location of your choice. 3.1 Rename the sub-directory "polis" to your own "city name" i.e. "paris".
  4. Make a copy of your local settings: 4.1 Copy /path/to/polis/city/default.local.py to /path/to/polis/city/local.py. 4.2 Edit /path/to/polis/city/local.py to match your setup.

4.3 Edit the path to the 'wbc' library directory within the 'wbc' repository and update the database adapter settings. For testing purposes, use the sqlite3 adapter. 4.4 Edit the HAYSTACK_CONNECTIONS block, edit the name of the index.

  1. Install the dependencies using pip pip install -r /path/to/city/requirements.txt. You might want to use a virtualenv for this.

  2. Change to the home-directory of the city repository and execute python manage.py migrate to set up the database structure.

  3. Use python manage.py load-fixtures to load test data of the administrative information about our "polis test city" Hamburg into the database.

  4. Run python manage.py createsuperuser to create an admin account.

  5. Start the development server using python manage.py runserver.

  6. Open a browser and go to http://localhost:8000/. A map of our "polis test city" Hamburg should appear.

  7. Use http://localhost:8000/admin/ to log in. Under region and process, districts, departments, places and publications can be added or edited.

About

This repository contains the city instance of Polis. Together with the Django-WBC Library it is our development repo for the latest features of the WBC platform.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published