Skip to content
Snippets Groups Projects
Unverified Commit 5ee55b0c authored by Luke Murphy's avatar Luke Murphy
Browse files

Add the gitlab configuration.

parent e2f31128
No related branches found
No related tags found
1 merge request!56Add the gitlab configuration.
Pipeline #1860 failed
......@@ -17,7 +17,7 @@ variables:
before_script:
- pip install -U pipenv setuptools pip
- ln -srf internewshid/local_settings.py.dev internewshid/local_settings.py
- ln -srf internewshid/local_settings.py.gitlab internewshid/local_settings.py
- |
echo "SECRET_KEY = '$DJANGO_SECRET_KEY'" >> internewshid/private_settings.py
echo "DB_PASSWORD = '$MYSQL_ROOT_PASSWORD'" >> internewshid/private_settings.py
......
from __future__ import unicode_literals, absolute_import
import private_settings
DEBUG = True
ASSETS_DEBUG = DEBUG
ASSETS_AUTO_BUILD = DEBUG
DJANGOJS_DEBUG = DEBUG
DEPLOY_ENV = "localdev"
DEPLOY_ENV_NAME = "Local dev copy"
DEPLOY_ENV_COLOR = '#ff9900'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'internewshid',
'USER': 'root',
'PASSWORD': private_settings.DB_PASSWORD,
'HOST': 'mysql',
'PORT': '3306',
'TEST': {
'CHARSET': 'utf8',
'COLLATION': 'utf8_general_ci',
}
}
}
EMAIL_HOST = 'localhost'
SITE_HOSTNAME = 'localhost:8000'
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment