docs: Add detailed server-side verification steps to the deployment guide.
This commit is contained in:
parent
db0d86ec39
commit
1b5c49ef0d
24
DEPLOY.md
24
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user