add shares av system

This commit is contained in:
Warp Agent
2026-01-04 14:11:38 +07:00
parent 70d25e13b8
commit 0c8a9efecc
49 changed files with 405 additions and 1 deletions

View File

@@ -0,0 +1,46 @@
# 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.