90 lines
2.2 KiB
Markdown
90 lines
2.2 KiB
Markdown
|
|
# Resume Checklist
|
||
|
|
|
||
|
|
Use this checklist to resume development and verify everything is working.
|
||
|
|
|
||
|
|
## ✅ Pre-Flight Checks
|
||
|
|
|
||
|
|
- [ ] WSL/Ubuntu terminal is open
|
||
|
|
- [ ] Navigated to project directory: `/mnt/c/Users/intlc/defi_oracle_projects/CurrenciCombo`
|
||
|
|
- [ ] All scripts are executable: `ls -la scripts/*.sh`
|
||
|
|
|
||
|
|
## 🔧 Setup Phase
|
||
|
|
|
||
|
|
- [ ] Run complete setup: `./scripts/setup-complete.sh`
|
||
|
|
- [ ] Verify setup: `./scripts/validate-setup.sh`
|
||
|
|
- [ ] Check for any errors or warnings
|
||
|
|
|
||
|
|
## 🗄️ Database Phase
|
||
|
|
|
||
|
|
- [ ] Setup database: `./scripts/setup-database.sh`
|
||
|
|
- [ ] Run migrations: `./scripts/run-migrations.sh`
|
||
|
|
- [ ] Test database: `./scripts/test-database.sh`
|
||
|
|
- [ ] Verify database connection in health endpoint
|
||
|
|
|
||
|
|
## 🚀 Service Phase
|
||
|
|
|
||
|
|
- [ ] Start all services: `./scripts/start-all.sh`
|
||
|
|
- [ ] Wait 10-15 seconds for services to start
|
||
|
|
- [ ] Check status: `./scripts/check-status.sh`
|
||
|
|
- [ ] Verify services: `./scripts/verify-services.sh`
|
||
|
|
|
||
|
|
## 🧪 Testing Phase
|
||
|
|
|
||
|
|
- [ ] Test API endpoints: `./scripts/test-curl.sh`
|
||
|
|
- [ ] Verify frontend: `./scripts/verify-frontend.sh`
|
||
|
|
- [ ] Test webapp-orchestrator: `./scripts/test-webapp-orchestrator.sh`
|
||
|
|
- [ ] Test end-to-end flow: `./scripts/test-e2e-flow.sh`
|
||
|
|
|
||
|
|
## ✅ Verification Phase
|
||
|
|
|
||
|
|
- [ ] Webapp loads at http://localhost:3000
|
||
|
|
- [ ] Orchestrator health at http://localhost:8080/health returns 200
|
||
|
|
- [ ] Database status shows "up" in health check
|
||
|
|
- [ ] Can create a plan via webapp
|
||
|
|
- [ ] Can view plan details
|
||
|
|
- [ ] No console errors in browser
|
||
|
|
|
||
|
|
## 🐛 Troubleshooting
|
||
|
|
|
||
|
|
If something fails:
|
||
|
|
|
||
|
|
1. **Check logs**:
|
||
|
|
```bash
|
||
|
|
# Webapp logs (if running in foreground)
|
||
|
|
cd webapp && npm run dev
|
||
|
|
|
||
|
|
# Orchestrator logs (if running in foreground)
|
||
|
|
cd orchestrator && npm run dev
|
||
|
|
```
|
||
|
|
|
||
|
|
2. **Check ports**:
|
||
|
|
```bash
|
||
|
|
lsof -ti:3000 # Webapp
|
||
|
|
lsof -ti:8080 # Orchestrator
|
||
|
|
lsof -ti:5432 # PostgreSQL
|
||
|
|
```
|
||
|
|
|
||
|
|
3. **Check environment**:
|
||
|
|
```bash
|
||
|
|
cat webapp/.env.local
|
||
|
|
cat orchestrator/.env
|
||
|
|
```
|
||
|
|
|
||
|
|
4. **Re-run validation**:
|
||
|
|
```bash
|
||
|
|
./scripts/validate-setup.sh
|
||
|
|
```
|
||
|
|
|
||
|
|
## 📝 Notes
|
||
|
|
|
||
|
|
- All scripts are in `scripts/` directory
|
||
|
|
- Documentation is in `docs/` directory
|
||
|
|
- Services should be started in WSL/Ubuntu terminal
|
||
|
|
- Browser can be accessed from Windows (http://localhost:3000)
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
**Status**: Ready to Resume
|
||
|
|
**Last Updated**: 2025-01-15
|
||
|
|
|