django-cms/run.sh

7 lines
193 B
Bash
Executable File

#!/bin/sh
cd /portal
sleep 1 # Hopefully enough for the database to start accepting connections
python manage.py makemigrations
python manage.py migrate
python manage.py runserver 0.0.0.0:8000