Created
May 26, 2011 18:22
-
-
Save selenamarie/993700 to your computer and use it in GitHub Desktop.
Setup for pgopen repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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