Files
calypso/QUICK-TEST-FRONTEND.md
2025-12-24 19:53:45 +00:00

47 lines
801 B
Markdown

# Quick Frontend Test
## Before Testing
1. **Install Node.js** (if not installed):
```bash
sudo ./scripts/install-requirements.sh
```
2. **Start Backend** (in one terminal):
```bash
cd backend
export CALYPSO_DB_PASSWORD="calypso123"
export CALYPSO_JWT_SECRET="test-jwt-secret-key-minimum-32-characters-long"
go run ./cmd/calypso-api -config config.yaml.example
```
## Test Frontend
1. **Install dependencies**:
```bash
cd frontend
npm install
```
2. **Start dev server**:
```bash
npm run dev
```
3. **Open browser**: http://localhost:3000
4. **Login**: Use admin credentials
5. **Test pages**:
- Dashboard
- Storage
- Alerts
## Automated Test
```bash
./scripts/test-frontend.sh
```
This will check prerequisites and test the build.