2018-03-09 00:55:03 +00:00
|
|
|
#!/bin/sh
|
|
|
|
cd /portal
|
|
|
|
#cp msmtprc /etc
|
|
|
|
sleep 1 # Hopefully enough for the database to start accepting connections
|
2018-03-09 04:29:30 +00:00
|
|
|
python manage.py makemigrations
|
2018-03-09 00:55:03 +00:00
|
|
|
python manage.py migrate
|
|
|
|
python manage.py runserver 0.0.0.0:8000
|