996ce4122e2f

Added a template for deploy.py.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 15 Jan 2009 18:06:54 -0500
parents 8ddcf2364ea7
children 3414a7b769ea
branches/tags (none)
files .hgignore deploy-template.py

Changes

--- a/.hgignore	Thu Jan 15 17:49:23 2009 -0500
+++ b/.hgignore	Thu Jan 15 18:06:54 2009 -0500
@@ -5,8 +5,12 @@
 *.tmproj
 
 fabfile.py
-deploy*.py
 *.db
 
 site-media/storage/*
 
+syntax: regexp
+# This is ugly but it works.
+deploy-[^t][^e][^m][^p].*
+deploy\.py
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/deploy-template.py	Thu Jan 15 18:06:54 2009 -0500
@@ -0,0 +1,17 @@
+# Rename this to deploy.py when you've filled in everything.
+
+DATABASE_ENGINE = ''
+DATABASE_NAME = ''
+DATABASE_USER = ''
+DATABASE_PASSWORD = ''
+DATABASE_HOST = ''
+DATABASE_PORT = ''
+
+DEBUG = False
+
+# The longer the better.  Django automatically generates one for you when you 
+# start a new project.
+SECRET_KEY = ''
+
+# Make sure it ends in a trailing slash! 
+BASE_DIR = '/full/path/to/project/directory/'