diff options
author | expo <expo@expobox.potato.hut> | 2015-06-24 04:41:50 +0100 |
---|---|---|
committer | expo <expo@expobox.potato.hut> | 2015-06-24 04:41:50 +0100 |
commit | dcc67fddda039e10cf0c81a8925373acea2b7be4 (patch) | |
tree | e8f9b453a9063e208a72e7de3ed44dd159accb30 /localsettingspotatohut.py | |
parent | 03cad0a37f01be8bb2b82de8f566771579f656fb (diff) | |
download | troggle-dcc67fddda039e10cf0c81a8925373acea2b7be4.tar.gz troggle-dcc67fddda039e10cf0c81a8925373acea2b7be4.tar.bz2 troggle-dcc67fddda039e10cf0c81a8925373acea2b7be4.zip |
Don't put passwords in the repo
Diffstat (limited to 'localsettingspotatohut.py')
-rw-r--r-- | localsettingspotatohut.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/localsettingspotatohut.py b/localsettingspotatohut.py index 2676da9..5773816 100644 --- a/localsettingspotatohut.py +++ b/localsettingspotatohut.py @@ -1,11 +1,15 @@ import sys +# This is an example file. Copy it to localsettings.py, set the +# password and _don't_ check that file back to the repo as it exposes +# your/our password to the world! + DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 'NAME': 'troggle', # Or path to database file if using sqlite3. 'USER': 'expo', # Not used with sqlite3. - 'PASSWORD': '161:gosser', # Not used with sqlite3. + 'PASSWORD': 'wibble', # Not used with sqlite3. 'HOST': '', # Set to empty string for localhost. Not used with sqlite3. 'PORT': '', # Set to empty string for default. Not used with sqlite3. } @@ -16,6 +20,7 @@ sys.path.append(REPOS_ROOT_PATH) sys.path.append(REPOS_ROOT_PATH + 'troggle') PUBLIC_SITE = True +FIX_PERMISSIONS = ["sudo", "/usr/local/bin/fix_permissions"] SURVEX_DATA = REPOS_ROOT_PATH + 'loser/' TUNNEL_DATA = REPOS_ROOT_PATH + 'tunneldata/' |