mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-04 05:54:04 +01:00
15 lines
481 B
Bash
15 lines
481 B
Bash
#!/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
|
|
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
|
|
python3 demo/manage.py runserver 0:8080
|