http://wir-bauen-hamburg.de - Finde geplante Bauvorhaben in deinem Kiez.
- Have Python 2.7.x installed. (1.1 brew install GDAL )
- Clone https://github.com/webuildcity/wbc to a location of your choice.
- Clone this repository, https://github.com/webuildcity/wbh, to a location of your choice.
- Copy
/path/to/wbh/wbh/default.local.py
to/path/to/wbh/wbh/local.py
. - Edit
/path/to/wbh/wbh/local.py
to match your setup. At least edit the path to the 'lib' directory within the 'wbc' repository and update the database adapter settings. For testing purposes, use the sqlite3 adapter. - Install the dependencies using pip
pip install -r /path/to/wbh/requirements.txt
. You might want to use a virtualenv for this. - Change to the
wbh
directory and executepython manage.py migrate
to set up the database structure. - Use
python manage.py load-fixtures
to load the administrative information about Berlin into the database. - Run
python manage.py createsuperuser
to create an admin account. - Start the development server using
python manage.py runserver
. - Open a browser and go to http://localhost:8000/. A map of Hamburg should appear.
- Use http://localhost:8000/admin/ to log in. Under region and process, districts, departments, places and publications can be added or edited.