Compare commits

...

2 Commits

Author SHA1 Message Date
francy
9444de36cf feat: Add analytics tracking script. 2026-02-01 15:13:11 +01:00
francy
1b5c49ef0d docs: Add detailed server-side verification steps to the deployment guide. 2026-02-01 12:32:55 +01:00
2 changed files with 43 additions and 14 deletions

View File

@ -83,11 +83,35 @@ docker-compose up -d --build
## Step 6: Verify ## Step 6: Verify
### From your browser
Open your browser and visit your EC2 Public IP: Open your browser and visit your EC2 Public IP:
`http://your-ec2-public-ip/` `http://your-ec2-public-ip/`
The app should be running! 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 ### Troubleshooting

View File

@ -1,6 +1,7 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head>
<head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> <link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
@ -8,9 +9,13 @@
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <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"> <link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap" rel="stylesheet">
</head> <script defer src="http://analytics.wondersheets.art/script.js"
<body> data-website-id="c98700d0-c89a-41af-9445-e7da9641154e"></script>
</head>
<body>
<div id="root"></div> <div id="root"></div>
<script type="module" src="/src/main.jsx"></script> <script type="module" src="/src/main.jsx"></script>
</body> </body>
</html> </html>