Files
igny8/cmd/restart-backend.sh
Gitea Deploy 961362e088 Add SEO fields to Tasks model, improve content generation response handling, and enhance progress bar animation
- Added primary_keyword, secondary_keywords, tags, and categories fields to Tasks model
- Updated generate_content function to handle full JSON response with all SEO fields
- Improved progress bar animation: smooth 1% increments every 300ms
- Enhanced step detection for content generation vs clustering vs ideas
- Fixed progress modal to show correct messages for each function type
- Added comprehensive logging to Keywords and Tasks pages for AI functions
- Fixed error handling to show meaningful error messages instead of generic failures
2025-11-09 21:22:34 +00:00

23 lines
600 B
Bash

#!/bin/bash
# Restart backend containers to pick up code changes
echo "🛑 Stopping backend containers..."
docker stop igny8_backend igny8_celery_worker igny8_celery_beat
echo "⏳ Waiting 3 seconds..."
sleep 3
echo "🚀 Starting backend containers..."
docker start igny8_backend igny8_celery_worker igny8_celery_beat
echo "⏳ Waiting 5 seconds for containers to initialize..."
sleep 5
echo "📋 Checking container status..."
docker ps --filter "name=igny8" --format " {{.Names}} | {{.Status}}"
echo ""
echo "📝 Checking backend logs for errors..."
docker logs igny8_backend --tail 20