This commit is contained in:
2026-05-13 16:45:54 +03:30
parent 948c062b93
commit 46fe62fa04
96 changed files with 3834 additions and 155 deletions
+5 -2
View File
@@ -88,7 +88,8 @@ if [ "${SKIP_MIGRATE}" != "1" ]; then
fi
if [ -n "${DEVELOP}" ] && [ "${SKIP_MIGRATE}" != "1" ]; then
echo "DEVELOP is set. Seeding demo plant, weather_data, and farm_data..."
echo "DEVELOP is set. Seeding demo location_data, plant, weather_data, and farm_data..."
run_cmd python manage.py seed_location_data
run_cmd python manage.py seed_plants
run_cmd python manage.py seed_weather_data
run_cmd python manage.py seed_farm_data
@@ -96,7 +97,9 @@ if [ -n "${DEVELOP}" ] && [ "${SKIP_MIGRATE}" != "1" ]; then
fi
echo "Checking openEO authentication..."
run_cmd python manage.py verify_openeo_auth --skip-if-unconfigured
if ! run_cmd python manage.py verify_openeo_auth --skip-if-unconfigured; then
echo "openEO authentication failed; continuing startup with degraded openEO-dependent features." >&2
fi
echo "Collecting static files..."
run_cmd python manage.py collectstatic --noinput