- Created docs/ directory for better organization - Moved 35 markdown files from root to docs/ - Includes all status reports, guides, and testing documentation Co-Authored-By: Warp <agent@warp.dev>
47 lines
801 B
Markdown
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.
|