diff --git a/.claude/commands/deploy-prod.md b/.claude/commands/deploy-prod.md new file mode 100644 index 0000000..251308b --- /dev/null +++ b/.claude/commands/deploy-prod.md @@ -0,0 +1,31 @@ +# Deploy to Production + +Deploy the latest main branch to the production server. + +## Server + +- **SSH**: `ssh root@167.235.133.87` +- **App directory**: `/opt/pseuno` + +## Steps + +1. SSH into the server +2. Pull the latest code from main +3. Rebuild and restart containers +4. Verify the deploy succeeded + +Run these commands over SSH: + +```bash +ssh root@167.235.133.87 "cd /opt/pseuno && git pull && docker compose -f docker-compose.prod.yml up -d --build && docker compose -f docker-compose.prod.yml ps && sleep 5 && curl -s localhost:8000/health" +``` + +If only the backend changed, you can rebuild just that service: +```bash +ssh root@167.235.133.87 "cd /opt/pseuno && git pull && docker compose -f docker-compose.prod.yml up -d --build backend && sleep 5 && curl -s localhost:8000/health" +``` + +If only the frontend changed, rebuild just frontend: +```bash +ssh root@167.235.133.87 "cd /opt/pseuno && git pull && docker compose -f docker-compose.prod.yml up -d --build frontend" +``` diff --git a/frontend/index.html b/frontend/index.html index 57a02e3..edd9d55 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -3,7 +3,7 @@ - + Pseuno AI - Personalized Music Prompts diff --git a/frontend/public/apple-touch-icon.png b/frontend/public/apple-touch-icon.png index 05d6890..0f1640f 100644 Binary files a/frontend/public/apple-touch-icon.png and b/frontend/public/apple-touch-icon.png differ