Add CAS
This commit is contained in:
parent
9d16b90d0d
commit
aac1b403db
10 changed files with 289 additions and 3 deletions
11
django-cas-server/entrypoint.sh
Executable file
11
django-cas-server/entrypoint.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Collect static files
|
||||
python manage.py collectstatic --noinput
|
||||
|
||||
# Apply database migrations
|
||||
sleep 3 # wait for db
|
||||
python manage.py migrate
|
||||
|
||||
# Start server
|
||||
gunicorn cas.wsgi:application --bind 0.0.0.0:8000 --workers 2 --log-level debug
|
Loading…
Add table
Add a link
Reference in a new issue