- python >= 2.5
- pip
- virtualenv
Create a virtual python environment for the project. If you're not using virtualenv you may skip this step.
virtualenv --no-site-packages ny-env
cd ny-env
source bin/activategit clone <URL_TO_GIT_REPOSITORY> nycd ny
pip install -r requirements/common.txtDepending on the your profile (development or production), install the extra requirements.
In a development environment, run:
cd ny
pip install -r requirements/dev.txtIn a production environment, run:
cd ny
pip install -r requirements/prod.txtcp ny/local_settings.example.py ny/local_settings.py
vi ny/local_settings.pypython manage.py syncdbpython manage.py runserverOpen you browser at http://localhost:8000.