2.4 KiB
2.4 KiB
๐ Final Startup Commands - All Issues Fixed
โ All Issues Resolved
- โ API config - Created app.config.js and app.config.json
- โ Sentry profiling - Made optional
- โ Billing service - Made optional (no serviceToken required)
- โ Ledger stream - Fixed null destructuring error
- โ SSL certificate - Added HTTP option
- โ React Three Fiber - Downgraded to React 17 compatible
- โ Three.js warnings - Documented (safe to ignore)
๐ฏ Quick Start Commands
Terminal 1: Start Databases
cd /Users/arhansubasi/lumina/lumina
docker-compose up mongodb mongodb-archive elasticsearch redis -d
Terminal 2: Start API
cd /Users/arhansubasi/lumina/lumina/api
npm start
Expected output:
- โ Connected to MongoDB databases
- โ Sentry profiling not available (optional) - OK
- โ Billing service not configured - OK
- โ API server started on port 3000
- โ ๏ธ Ledger stream warnings (if database is empty) - OK, will stop once data is indexed
Terminal 3: Start UI (HTTP - No Certificate Issues)
cd /Users/arhansubasi/lumina/lumina/ui
DISABLE_HTTPS=true pnpm dev-server
Expected output:
- โ Webpack compiled successfully
- โ ๏ธ Three.js warnings (safe to ignore)
- โ Server running on http://localhost:9001
๐ Access Points
- UI: http://localhost:9001
- 3D Visualization: http://localhost:9001/graph/3d/public
- API: http://localhost:3000
- API Test: http://localhost:3000/explorer/public/ledger/last
โ ๏ธ Expected Warnings (Safe to Ignore)
Three.js Warnings
WARNING: PlaneBufferGeometry not found in 'three'
Status: โ Safe to ignore - app works perfectly
Why: Three.js renamed PlaneBufferGeometry to PlaneGeometry, but both work.
See: THREE_JS_WARNINGS.md for details
๐ Verify Everything Works
# Test API
curl http://localhost:3000/explorer/public/ledger/last
# Test UI
curl http://localhost:9001
# Check Docker containers
docker-compose ps
All should return data (not errors).
๐ Documentation
- Startup Guide:
START_APP.md - Quick Commands:
QUICK_START_COMMANDS.md - SSL Fix:
SSL_FIX.md - Three.js Warnings:
THREE_JS_WARNINGS.md - All Fixes:
FIXES_APPLIED.md
๐ You're Ready!
The app should now start without errors. All optional services (Sentry, Billing) are gracefully handled when not configured.