[snowy] Add local_settings.py.in, update INSTALL.
- From: Sanford Armstrong <sharm src gnome org>
- To: svn-commits-list gnome org
- Subject: [snowy] Add local_settings.py.in, update INSTALL.
- Date: Mon, 4 May 2009 20:07:26 -0400 (EDT)
commit dd6069888310f16474d1b0833f2706e757368cb4
Author: Sandy Armstrong <sanfordarmstrong gmail com>
Date: Mon May 4 17:06:52 2009 -0700
Add local_settings.py.in, update INSTALL.
---
INSTALL | 11 +++++++----
local_settings.py.in | 8 ++++++++
2 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/INSTALL b/INSTALL
index 9b4567f..66ca008 100644
--- a/INSTALL
+++ b/INSTALL
@@ -7,16 +7,19 @@ Running Snowy From Your Git Checkout
svn co http://code.djangoproject.com/svn/django/trunk/ django
cd django && sudo python setup.py install
-2. Setup snowy database (in your snowy git checkout):
+2. Set up your local settings file (in your snowy git checkout):
+ cp local_settings.py.in local_settings.py
+
+3. Setup snowy database (in your snowy git checkout):
python manage.py syncdb
-3. Start local snowy (in your snowy git checkout):
+4. Start local snowy (in your snowy git checkout):
python manage.py runserver
-4. Admin your snowy:
+5. Admin your snowy:
http://127.0.0.1:8000/admin (you can add notes here for now)
-5. Play with snowy:
+6. Play with snowy:
http://127.0.0.1:8000/notes/1 (for example)
diff --git a/local_settings.py.in b/local_settings.py.in
new file mode 100644
index 0000000..3d3851a
--- /dev/null
+++ b/local_settings.py.in
@@ -0,0 +1,8 @@
+# Local Django settings for snowy project.
+
+DEBUG = True
+TEMPLATE_DEBUG = DEBUG
+
+DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
+DATABASE_NAME = 'snowy.db' # Or path to database file if using sqlite3.
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]