UPDATE
This commit is contained in:
+5
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user