Created
February 25, 2011 03:08
-
-
Save datwright/843315 to your computer and use it in GitHub Desktop.
Setting up a Django 1.2 instance
This file contains 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
# Go to directory where you want to create your new project directory. Project is | |
# called 'mysite' | |
django-admin.py startproject mysite | |
# Go into directory and start server. Port 8000 by default. | |
cd mysite | |
python manage.py runserver [port] | |
#change setting.py's DB-ENGINE to 'django.db.backends.sqlite3' and give the | |
# database a "name" | |
# sync with the db | |
python manage.py syncdb | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment