- 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/activate
git clone <URL_TO_GIT_REPOSITORY> ny
cd ny
pip install -r requirements/common.txt
Depending on the your profile (development or production), install the extra requirements.
In a development environment, run:
cd ny
pip install -r requirements/dev.txt
In a production environment, run:
cd ny
pip install -r requirements/prod.txt
cp ny/local_settings.example.py ny/local_settings.py
vi ny/local_settings.py
python manage.py syncdb
python manage.py runserver
Open you browser at http://localhost:8000.