Skip to content

Instantly share code, notes, and snippets.

@selenamarie
Created May 26, 2011 18:22
Show Gist options
  • Save selenamarie/993700 to your computer and use it in GitHub Desktop.
Save selenamarie/993700 to your computer and use it in GitHub Desktop.
Setup for pgopen repo
Install easy_install from setuptools somewhow :)
Then:
# virtualenv ~/ENV/pgopen
# source ~/ENV/pgopen/bin/activate
# pip install -r pgopen/requirements/project.txt
... wait for a while ...
# easy_install pil
# cat >> pgopen/local_settings.py
DATABASES = {
"default": {
"ENGINE": "sqlite3", # Add "postgresql_psycopg2", "postgresql", "mysql", "sqlite3" or "oracle".
"NAME": "pgopen", # Or path to database file if using sqlite3.
}
}
# cd pgopen
# python manage.py syncdb
(asks you to create superuser with email & pw)
# python manage.py loaddata fixtures/initial_{wakawaka,boxes}.json
# python manage.py runserver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment