Skip to content

Instantly share code, notes, and snippets.

@onyxfish
Created May 10, 2010 19:15
Show Gist options
  • Save onyxfish/396395 to your computer and use it in GitHub Desktop.
Save onyxfish/396395 to your computer and use it in GitHub Desktop.
Setup instructions for safecity
# Assumes you have Postgres installed
mkvirtualenv --no-site-packages safecity
easy_install pip
pip install -r requirements.txt
# The default dataset is the South Austin neighborhood of Chicago
# For complete dataset edit bootstrap.sh to remove the flag to ./manage load_centerline
# For the downtown/loop dataset edit bootstrap.sh to change the flag to ./manage load_centerline -d
./bootstrap.sh
./manage runserver
# Browse to http://localhost:8000/admin/mock/
# Login with superuser creds
# From here you can send/receive mock SMS messages without setting anything else up.
# You'll find the details of the messaging loop in safecity/apps/tropo/views.py
# If you get errors about anything being undefined, define those vars in a file called "local_settings.py" alongside "manage" in the safecity root directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment