Organize documentation: move all markdown files to docs/ directory
- 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>
This commit is contained in:
46
docs/QUICK-TEST-FRONTEND.md
Normal file
46
docs/QUICK-TEST-FRONTEND.md
Normal 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.
|
||||
Reference in New Issue
Block a user