feat(creator): overhaul Creator flow, editor duplication, and staging setup #83
+4
-4
@@ -81,14 +81,14 @@ export ConnectionStrings__PostgresConnection="Host=127.0.0.1;Port=$POSTGRES_PORT
|
||||
dotnet ef database update --project src/NexusReader.Data --startup-project src/NexusReader.Web --no-build
|
||||
|
||||
# 7. Wait for Web Application to respond
|
||||
echo "⏳ Waiting for Web Application to start on http://localhost:$WEB_PORT..."
|
||||
MAX_WEB_ATTEMPTS=45
|
||||
echo "⏳ Waiting for Web Application to start on http://localhost:$WEB_PORT/health..."
|
||||
MAX_WEB_ATTEMPTS=30
|
||||
web_attempt=0
|
||||
until curl -s -f "http://localhost:$WEB_PORT" >/dev/null; do
|
||||
until curl -s -f "http://localhost:$WEB_PORT/health" >/dev/null; do
|
||||
sleep 2
|
||||
web_attempt=$((web_attempt + 1))
|
||||
if [ $web_attempt -ge $MAX_WEB_ATTEMPTS ]; then
|
||||
echo "⚠️ Warning: Web app is not responding yet on http://localhost:$WEB_PORT, but let's check logs..."
|
||||
echo "⚠️ Warning: Web app is not responding yet on http://localhost:$WEB_PORT/health, but let's check logs..."
|
||||
docker compose -f "$COMPOSE_FILE" --env-file "$ENV_FILE" logs web
|
||||
break
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user