Make sure that the enviroment_setting.py file is there.
This commit is contained in:
parent
44d2ce22ab
commit
c3ebb6ebd3
5
Makefile
5
Makefile
|
@ -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
|
||||
|
|
22
src/bornhack/dev_environment_settings.py
Normal file
22
src/bornhack/dev_environment_settings.py
Normal 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
|
Loading…
Reference in a new issue