UPD: changed the django env directory name
This commit is contained in:
1 parent
8386431238
commit
60ec7bd29f
4 files changed
+12
-4
No files matched your search
@@ -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
|
||||
@@ -1 +1 @@
|
||||
echo "ALLOWED_HOSTS = ['*']" >> env/django/main/settings.py
|
||||
echo "ALLOWED_HOSTS = ['*']" >> djangoenv/main/settings.py
|
||||
@@ -1 +1 @@
|
||||
python env/django/manage.py collectstatic --no-input
|
||||
python djangoenv/manage.py collectstatic --no-input
|
||||
@@ -1 +1 @@
|
||||
touch env/django/main/wsgi.py
|
||||
touch djangoenv/main/wsgi.py
|
||||
Reference in new issue
Block a user