Add self hosted entrypoint file for easier debugging which will use the integrated django server to serve all files
This commit is contained in:
parent
144a65ee05
commit
a59fad4866
6
entrypoint_self_hosted.sh
Executable file
6
entrypoint_self_hosted.sh
Executable file
@ -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
|
Loading…
Reference in New Issue
Block a user