- install virtualenv
- install virtualenvwrapper
- install postgres (I use postgres.app) and the command-line tools
git clone [email protected]:jeremyjbowers/npl.git
mkvirtualenv npl
add2virtualenv .
add2virtualenv config
add2virtualenv npl
export DJANGO_SETTINGS_MODULE=config.dev.settings
pip install -r requirements.txt
createdb npl
psql npl < npl.sql
django-admin runserver
You'll be able to see this at http://127.0.0.1:8000
.
I recommend editing your /etc/hosts
to add a line like this:
127.0.0.1 localhost.nationalpastime.org
Then you can see the site at http://localhost.nationalpastime.org:8000
in your browser.