forked from developer italia

This commit is contained in:
gabdevele
2026-06-17 17:46:59 +02:00 Unverified
commit 69e71ec601
43 changed files with 6026 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/sh
set -eu
APP_DIR="$1"
PORT="$2"
cd "$APP_DIR"
mkdir -p logs static
if [ ! -f db.sqlite3 ]; then
python manage.py migrate
python manage.py loaddata dumps/example.json
else
python manage.py migrate
fi
exec python manage.py runserver 0.0.0.0:"$PORT"