Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 491 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 491 Bytes

Replace 'proj' with project name

cd into project directory

virtualenv venv --distribute

source venv/bin/activate

pip install -r requirements.txt

run Postgres.app

psql -h localhost

CREATE DATABASE proj;

Run Server

python manage.py runserver --settings="proj.settings.dev"

Sync DB

python manage.py syncdb --settings="proj.settings.dev"

Migrate DB

python manage.py migrate --settings="proj.settings.dev"

Run Server

python manage.py runserver --settings="proj.settings.dev"