The tool is designed to allow for quick and simple uploading and mapping of data in various formats. This repo in particular holds the source code with advanced front end templates that Code for Denver has worked on.
The project is built in Python using the Django web framework. Developers should have some familiarity before diving in (see the tutorial)
git clone this repo
install postgres and create a database (named geocode
) for this project.
make sure python - pycopg2 is installed -
pip install psycopg2
(optional) cd into the repo and create a virtual environment and install the dependencies.
(these commands are for bash, for windows checkout virtualenv-win)
pip install virtualenv
pip install virtualenvwrapper
You'll need to source /usr/local/bin/virtualenvwrapper.sh
or wherever it is installed - read more on setup here. Then you can run the following command to install the dependencies:
mkvirtualenv -a [paste current path again] -r requirements.txt geocode
activate the virtual environment via
workon geocode
to insure the right libraries are installed, run
pip install -r requirements.txt
start the app with python manage.py runserver
. to see other app management commands simply run python mange.py