mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-03-03 09:41:40 +01:00
Remove deprecated entrypoint
This commit is contained in:
parent
e005db7521
commit
76a4319ed5
18
entrypoint
18
entrypoint
@ -1,18 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -o errexit
|
||||
set -o pipefail
|
||||
set -o nounset
|
||||
|
||||
pip3 install -e . --user || pip3 install -e .
|
||||
pip3 install -e demo --user || pip3 install -e demo
|
||||
python3 demo/manage.py migrate --noinput
|
||||
|
||||
if [ ! -e "/app/demo/demodesk/db.sqlite3" ]; then
|
||||
DJANGO_SUPERUSER_PASSWORD=Test1234 python3 demo/manage.py createsuperuser --username admin --email helpdesk@example.com --noinput
|
||||
# Install fixtures
|
||||
python3 demo/manage.py loaddata emailtemplate.json
|
||||
python3 demo/manage.py loaddata demo.json
|
||||
fi
|
||||
|
||||
exec "$@"
|
Loading…
Reference in New Issue
Block a user