Compare commits
No commits in common. "9444de36cf92afea90bb1729ee01dafaa18e2b7b" and "db0d86ec395a350488efa4a74b18dd941ffccd60" have entirely different histories.
9444de36cf
...
db0d86ec39
24
DEPLOY.md
24
DEPLOY.md
@ -83,35 +83,11 @@ 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
|
||||
|
||||
33
index.html
33
index.html
@ -1,21 +1,16 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>WonderSheets - AI Activity Page Creator</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
||||
<script defer src="http://analytics.wondersheets.art/script.js"
|
||||
data-website-id="c98700d0-c89a-41af-9445-e7da9641154e"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script type="module" src="/src/main.jsx"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>WonderSheets - AI Activity Page Creator</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script type="module" src="/src/main.jsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user