Commit 7e6d6ca6e963ec4e834fe3d781fb9b0bc62c45b6
Committed by
Sergio Oliveira
1 parent
ac3ed4be
Exists in
master
and in
39 other branches
Added settings for new environment
Showing
1 changed file
with
50 additions
and
0 deletions
Show diff stats
| @@ -0,0 +1,50 @@ | @@ -0,0 +1,50 @@ | ||
| 1 | +from custom_settings import * | ||
| 2 | + | ||
| 3 | +DEBUG = True | ||
| 4 | +TEMPLATE_DEBUG = DEBUG | ||
| 5 | + | ||
| 6 | +ADMINS = ( | ||
| 7 | +) | ||
| 8 | + | ||
| 9 | +MANAGERS = ADMINS | ||
| 10 | + | ||
| 11 | +EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' | ||
| 12 | +#EMAIL_HOST = '' | ||
| 13 | +#EMAIL_PORT = 587 | ||
| 14 | +EMAIL_SUBJECT_PREFIX = '' | ||
| 15 | + | ||
| 16 | +# Make this unique, and don't share it with anybody. | ||
| 17 | +SECRET_KEY = ')(jksdfhsjkadfhjkh234ns!8fqu-1186h$vuj' | ||
| 18 | + | ||
| 19 | +SITE_URL = os.environ.get('COLAB_HOST') | ||
| 20 | +BROWSERID_AUDIENCES = [SITE_URL, SITE_URL.replace('https', 'http')] | ||
| 21 | + | ||
| 22 | +ALLOWED_HOSTS = [os.environ.get('COLAB_HOST')] | ||
| 23 | + | ||
| 24 | +INTERNAL_IPS = ('127.0.0.1', ) | ||
| 25 | + | ||
| 26 | +CONVERSEJS_BOSH_SERVICE_URL = 'http://localhost:5280/http-bind' | ||
| 27 | + | ||
| 28 | +DATABASES['default']['PASSWORD'] = os.environ.get('COLAB_DB_PWD') | ||
| 29 | +DATABASES['default']['HOST'] = 'localhost' | ||
| 30 | + | ||
| 31 | +TRAC_ENABLED = False | ||
| 32 | + | ||
| 33 | +if TRAC_ENABLED: | ||
| 34 | + from trac_settings import * | ||
| 35 | + DATABASES['trac'] = TRAC_DATABASE | ||
| 36 | + DATABASES['trac']['PASSWORD'] = os.environ.get('TRAC_DB_PWD') | ||
| 37 | + DATABASES['trac']['HOST'] = 'localhost' | ||
| 38 | + | ||
| 39 | +HAYSTACK_CONNECTIONS['default']['URL'] = 'http://localhost:8983/solr/' | ||
| 40 | + | ||
| 41 | +COLAB_TRAC_URL = 'http://localhost:5000/trac/' | ||
| 42 | +COLAB_CI_URL = 'http://localhost:8080/ci/' | ||
| 43 | +COLAB_GITLAB_URL = 'http://localhost:8090/gitlab/' | ||
| 44 | +COLAB_REDMINE_URL = 'http://localhost:9080/redmine/' | ||
| 45 | + | ||
| 46 | +CONVERSEJS_ENABLED = False | ||
| 47 | + | ||
| 48 | +DIAZO_THEME = SITE_URL | ||
| 49 | + | ||
| 50 | +ROBOTS_NOINDEX = True |