feat(creator): overhaul Creator flow, editor duplication, and staging setup #83

Merged
mjasin merged 15 commits from feature/stage3-book-versioning into develop 2026-06-15 17:15:43 +00:00
Showing only changes of commit d2410e9793 - Show all commits
+4 -4
View File
@@ -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 dotnet ef database update --project src/NexusReader.Data --startup-project src/NexusReader.Web --no-build
# 7. Wait for Web Application to respond # 7. Wait for Web Application to respond
echo "⏳ Waiting for Web Application to start on http://localhost:$WEB_PORT..." echo "⏳ Waiting for Web Application to start on http://localhost:$WEB_PORT/health..."
MAX_WEB_ATTEMPTS=45 MAX_WEB_ATTEMPTS=30
web_attempt=0 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 sleep 2
web_attempt=$((web_attempt + 1)) web_attempt=$((web_attempt + 1))
if [ $web_attempt -ge $MAX_WEB_ATTEMPTS ]; then 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 docker compose -f "$COMPOSE_FILE" --env-file "$ENV_FILE" logs web
break break
fi fi