Skip to content
Snippets Groups Projects
Commit 5ffa6e58 authored by Nico Vermaas's avatar Nico Vermaas
Browse files

change configuration to esap.py

parent 972b7c52
No related branches found
No related tags found
1 merge request!20Esap gateway query
......@@ -10,6 +10,7 @@ RUN pip install --upgrade pip "cython==0.29.14"
RUN pip install cryptography
RUN pip install -r requirements/prod.txt
RUN exec python manage.py collectstatic --settings=esap.settings.statics --no-input
CMD exec gunicorn esap.wsgi_docker:application --bind 0.0.0.0:8000 --workers 3
# build the image like this:
......
......@@ -40,4 +40,4 @@ STATIC_ROOT = os.path.join(BASE_DIR, 'static')
# configuration settings that can be requested through the REST API
CONFIGURATION_DIR = os.path.join(BASE_DIR, 'configuration')
CONFIGURATION_FILE = 'esap_default'
CONFIGURATION_FILE = 'esap'
......@@ -24,6 +24,3 @@ INSTALLED_APPS = [
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
# configuration settings that can be requested through the REST API
CONFIGURATION_DIR = os.path.join(BASE_DIR, 'configuration')
CONFIGURATION_FILE = 'esap'
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment