This commit is contained in:
2026-05-11 03:27:21 +03:30
parent cf7cbb937c
commit d0e68a1a56
854 changed files with 102985 additions and 76 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/sh
set -e
if [ "${SKIP_MIGRATE}" != "1" ]; then
echo "Running migrations..."
python manage.py migrate --noinput --fake-initial
echo "Migrations done."
if [ "${DOCKER_VERSION}" = "develop" ]; then
echo "Running develop seeders..."
python manage.py seed_admin_farm
python manage.py seed_sensor_7_in_1
echo "Develop seeders done."
fi
fi
echo "Starting command: $*"
exec "$@"