diff --git a/entrypoint_self_hosted.sh b/entrypoint_self_hosted.sh new file mode 100755 index 0000000..e78916d --- /dev/null +++ b/entrypoint_self_hosted.sh @@ -0,0 +1,6 @@ +#!/bin/sh +source /home/shimatta/kenkyusho/.venv/bin/activate +cd /home/shimatta/kenkyusho/shimatta_kenkyusho +python manage.py migrate --settings shimatta_kenkyusho.settings_production + +python manage.py runserver 0.0.0.0:8000 --settings shimatta_kenkyusho.settings_production