11 lines
258 B
Bash
11 lines
258 B
Bash
#!/bin/bash
|
|
# executes the manage.py commands to setup and starts the server
|
|
|
|
echo "setup"
|
|
python manage.py makemigrations
|
|
python manage.py makemigrations app_be
|
|
python manage.py migrate
|
|
|
|
echo "run server"
|
|
gunicorn app_be.wsgi:application -b 0.0.0.0 -p 8000
|