Skip to content
Snippets Groups Projects
Commit 65692330 authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

add run.sh

parent dd799654
No related branches found
No related tags found
No related merge requests found
Pipeline #12437 passed
run.sh 0 → 100644
#!/bin/bash
# exit on error
set -e
# Migrate database
python manage.py migrate
# Start webserver
exec gunicorn -c gunicorn.conf.py ucebnice.wsgi
"""
WSGI config for registry project.
WSGI config for the ucebnice project.
It exposes the WSGI callable as a module-level variable named ``application``.
......@@ -11,6 +11,6 @@ import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "registry.settings")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ucebnice.settings.production")
application = get_wsgi_application()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment