UPD: changed the django env directory name
Some checks failed
buildbot/tox Build done.
buildbot/django-dav-events-install Build done.

This commit is contained in:
2020-04-23 13:20:49 +02:00
parent 8386431238
commit 60ec7bd29f
4 changed files with 12 additions and 4 deletions

View File

@@ -1,5 +1,13 @@
django-dav-admin setup env/django
django-dav-admin setup djangoenv
python env/django/manage.py enable_module dav_auth
python env/django/manage.py enable_module dav_events
python env/django/manage.py enable_module dav_registration
python env/django/manage.py enable_module dav_event_office
if test -n "$ROOT_URI" ; then
cat <<E-O-H >> djangoenv/main/settings.py
STATIC_URL = '${ROOT_URI}/static/'
E-O-H
fi

View File

@@ -1 +1 @@
echo "ALLOWED_HOSTS = ['*']" >> env/django/main/settings.py
echo "ALLOWED_HOSTS = ['*']" >> djangoenv/main/settings.py

View File

@@ -1 +1 @@
python env/django/manage.py collectstatic --no-input
python djangoenv/manage.py collectstatic --no-input

View File

@@ -1 +1 @@
touch env/django/main/wsgi.py
touch djangoenv/main/wsgi.py