11 lines
257 B
Bash
11 lines
257 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"
|
|
python manage.py runserver 0.0.0.0:8000 --noreload
|