diff --git a/DEPLOY.md b/DEPLOY.md index 0d219b9d..ab4dc5ba 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -83,11 +83,35 @@ docker-compose up -d --build ## Step 6: Verify +### From your browser + Open your browser and visit your EC2 Public IP: `http://your-ec2-public-ip/` The app should be running! +### From the server terminal (SSH) + +You can check if the server is running correctly directly on the instance: + +1. **Check running containers:** + ```bash + docker-compose ps + ``` + You should see `wondersheets-backend-1` and `wondersheets-frontend-1` with status `Up`. + +2. **Check local connection:** + ```bash + curl -I http://localhost + ``` + You should see `HTTP/1.1 200 OK`. + +3. **View Logs:** + ```bash + docker-compose logs -f + ``` + + --- ### Troubleshooting