From a59fad4866dfc3089b4545886044f3a3ea0338bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Sun, 17 Nov 2024 17:33:45 +0100 Subject: [PATCH] Add self hosted entrypoint file for easier debugging which will use the integrated django server to serve all files --- entrypoint_self_hosted.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 entrypoint_self_hosted.sh 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