From 8d4050ce8f7391d91d519333eb99fbec2fef143d Mon Sep 17 00:00:00 2001 From: Corban-Lee Jones Date: Thu, 18 Jan 2024 12:15:42 +0000 Subject: [PATCH] Create runserver.sh Nice script to run the server. Migrates before hand. Runs on 0.0.0.0:8000 with the --noreload argument. --- scripts/runserver.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 scripts/runserver.sh diff --git a/scripts/runserver.sh b/scripts/runserver.sh new file mode 100755 index 0000000..a246a46 --- /dev/null +++ b/scripts/runserver.sh @@ -0,0 +1,5 @@ +echo migrating +python manage.py migrate + +echo running without reload +python manage.py runserver 0.0.0.0:8000 --noreload \ No newline at end of file