Update dashboard and Docker compose
Some checks failed
CI/CD Pipeline / Security Scanning (push) Has been cancelled
CI/CD Pipeline / Tests (3.11) (push) Has been cancelled
CI/CD Pipeline / Tests (3.12) (push) Has been cancelled
CI/CD Pipeline / Build Docker Image (push) Has been cancelled
CI/CD Pipeline / Code Quality Checks (push) Has been cancelled

This commit is contained in:
2026-01-24 19:14:00 +01:00
parent a5811113f0
commit 574a07d127
17 changed files with 838 additions and 252 deletions

View File

@@ -59,7 +59,7 @@ The `./scripts/dev.sh` script provides comprehensive development automation:
### Docker Operations
```bash
./scripts/dev.sh build # Build Docker images
./scripts/dev.sh build # Build Docker images (bot + dashboard)
```
## 🐳 Development Services
@@ -76,6 +76,30 @@ When you run `./scripts/dev.sh up`, the following services are available:
| Redis Commander | http://localhost:8081 | Redis administration |
| MailHog | http://localhost:8025 | Email testing |
## 🖥️ Dashboard Frontend
The dashboard backend serves static assets from `dashboard/frontend/dist`.
Build the static assets:
```bash
cd dashboard/frontend
npm install
npm run build
```
Or run the Vite dev server for UI iteration:
```bash
cd dashboard/frontend
npm install
npm run dev
```
The Vite dev server runs at `http://localhost:5173`.
The Vite dev server proxies `/api` and `/auth` to `http://localhost:8000`. If you're
using the Docker dev stack (dashboard at `http://localhost:8080`), either run the
dashboard backend locally on port 8000 or update the proxy target.
## 🧪 Testing
### Running Tests
@@ -284,4 +308,4 @@ pytest tests/test_config.py::TestSettingsValidation::test_discord_token_validati
---
Happy coding! 🎉
Happy coding! 🎉