Make sure that the enviroment_setting.py file is there.

This commit is contained in:
Víðir Valberg Guðmundsson 2017-11-05 17:41:37 +01:00
parent 44d2ce22ab
commit c3ebb6ebd3
2 changed files with 26 additions and 1 deletions

View file

@ -1,4 +1,7 @@
all: build db_up sleep migrate bootstrap web_up
all: copy_environment_settings build db_up sleep migrate bootstrap web_up
copy_environment_settings:
cp src/bornhack/dev_environment_settings.py src/bornhack/environment_settings.py
build:
docker-compose build

View file

@ -0,0 +1,22 @@
# This file is intended for easing the creation of a local development setup
SECRET_KEY = "something-very-random"
ALLOWED_HOSTS = "*"
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'bornhack',
'USER': 'bornhack',
'PASSWORD': 'bornhack',
'HOST': 'db',
},
}
DEBUG=True
WKHTMLTOPDF_CMD="wkhtmltopdf"
CHANNEL_LAYERS = {
"default": {
"BACKEND": "asgiref.inmemory.ChannelLayer",
"ROUTING": "bornhack.routing.channel_routing",
"CONFIG": {}
},
}
CAMP_REDIRECT_PERCENT=40