Skip to content

Instantly share code, notes, and snippets.

@ChristinaMeno
Created March 9, 2011 13:59
Show Gist options
  • Save ChristinaMeno/862222 to your computer and use it in GitHub Desktop.
Save ChristinaMeno/862222 to your computer and use it in GitHub Desktop.
diff --git a/storyville/conf/local.py b/storyville/conf/local.py
index ad32f1e..769f4fb 100644
--- a/storyville/conf/local.py
+++ b/storyville/conf/local.py
@@ -25,6 +25,13 @@ DATABASES['strongmail'].update({
'TEST_NAME': '%s' % STRONGMAIL_DB_NAME,
})
+DATABASES['amgdb'].update({
+ #'NAME': 'amgdb',
+ 'NAME': 'crapola',
+ 'HOST': 'localhost',
+ 'USER': 'storyville',
+ 'PASSWORD': 'cmgdigital',
+ })
# set database port based on CMG_DB_PORT from venv
CMG_LOCAL_VENV_VERSION = os.environ.get('CMG_LOCAL_VIRTUALENV_VERSION')
if CMG_LOCAL_VENV_VERSION and CMG_LOCAL_VENV_VERSION=="1":
@@ -32,6 +39,7 @@ if CMG_LOCAL_VENV_VERSION and CMG_LOCAL_VENV_VERSION=="1":
if DBPORT:
DATABASES['default'].update({ 'PORT': DBPORT, })
DATABASES['strongmail'].update({ 'PORT': DBPORT, })
+ DATABASES['amgdb'].update({ 'PORT': DBPORT, })
SIGNIN_SERVER_REGISTRATION_URL = 'http://signin.example.com:8001/register/'
SIGNIN_SERVER_LOGIN_URL = 'http://signin.example.com:8001/api/login/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment