- Python 3.10+ installed
- Node.js 18+ installed
- PostgreSQL 14+ installed and running
- Git installed
# Navigate to project root
cd F:\Projects\phobetron_web_app
# Activate Python virtual environment
.\backend\venv\Scripts\Activate.ps1
# Navigate to backend
cd backend
# Install dependencies (if not already done)
pip install -r requirements.txt
# Set environment variables (create .env file first)
# Copy from .env.example and fill in your PostgreSQL credentials
# Run database migrations
alembic upgrade head
# Start the backend server
python -m uvicorn app.main:app --reload --host 0.0.0.0 --port 8000Backend should now be running at: http://localhost:8000
Open a NEW terminal (keep backend running):
# Navigate to frontend
cd F:\Projects\phobetron_web_app\frontend
# Install dependencies (if not already done)
npm install
# Start the development server
npm run devFrontend should now be running at: http://localhost:3000 or http://localhost:3001
Open browser to: http://localhost:8000/docs
- You should see the FastAPI Swagger UI
- Try the
/api/v1/healthendpoint
Open browser to: http://localhost:3000
- You should see the Celestial Signs dashboard
- Navigate to "Solar System" in the sidebar
- You should see the 3D visualization with planets
To populate the database with test data:
# In backend directory with venv activated
python scripts/load_sample_ephemeris.py
python scripts/load_sample_earthquakes.py
python scripts/load_sample_prophecies.pyPort 8000 already in use:
# Find process using port 8000
netstat -ano | findstr :8000
# Kill the process
taskkill /PID <PID> /FDatabase connection errors:
- Check PostgreSQL is running:
services.msc→ Look for "postgresql" - Verify credentials in
.envfile - Test connection:
psql -U postgres -h localhost
Module import errors:
# Reinstall requirements
pip install -r requirements.txt --force-reinstallPort 3000 already in use:
# Kill all node processes
taskkill /F /IM node.exe
# Or manually choose different port
# Frontend will auto-suggest 3001 if 3000 is busyModule not found errors:
# Clear node_modules and reinstall
rm -r node_modules
rm package-lock.json
npm installBuild errors:
# Clear Next.js cache
rm -r .next
npm run dev- Grid Toggle: Show/hide coordinate grids
- Orbit Toggle: Show/hide planetary orbits
- Labels Toggle: Show/hide planet names
- NEO Toggle: Show/hide asteroids
- Speed Control: Adjust animation speed (0.1x - 10x)
- Click Planets: View detailed information
- Click NEOs: See close approach data
- Live earthquake feed (M4+)
- Correlation statistics
- Alert system
- Module navigation
- Earth-centric event monitoring
- Seismic activity tracking
- Real-time updates
- Browse biblical prophecies
- Category filtering
- Scripture references
-
JPL Horizons System - Planetary ephemeris
- Real-time position data (x, y, z AU)
- Velocity vectors
- Epoch timestamps
-
Orbital Elements - Keplerian parameters
- Semi-major axis
- Eccentricity
- Inclination
- Node longitude
- Periapsis argument
- Mean anomaly
-
Close Approaches - NEO tracking
- Approach dates
- Miss distances
- Relative velocities
- Object diameters
-
USGS Earthquake Data - Seismic events
- Magnitude
- Depth
- Location (PostGIS)
- Timestamps
-
Custom Theological Data - Biblical prophecies
- Scripture references
- Event correlations
- Celestial sign links
- Ephemeris: 60 seconds (real-time positions)
- Orbital Elements: 5 minutes (semi-static)
- Close Approaches: 5 minutes (periodic updates)
- Earthquakes: Auto-refresh in dashboard
- Alerts: Real-time via API polling
✅ 3-Plane Grid System - XZ/XY/YZ coordinate planes (SkyLive has 2D grid) ✅ Danger Indicators - Red glow for close NEOs < 0.05 AU (SkyLive lacks this) ✅ Dual Detail Panels - Separate planet/NEO info cards (SkyLive has basic popups) ✅ 15,000 Stars - Enhanced starfield density (SkyLive ~8000) ✅ Elliptical Orbits - True Keplerian mechanics (SkyLive approximate) ✅ Real-Time Updates - Auto-refresh ephemeris (SkyLive static) ✅ Advanced Controls - Speed/pause/grid/orbit/label toggles ✅ Camera Damping - Smooth navigation (SkyLive basic controls)
- Phase 11: Implement Cesium.js Earth Dashboard
- Phase 12: Enhance Prophecy Codex with correlations
- Optional: Add comet tails, bloom effects, VR mode
If you encounter issues:
- Check the console for error messages (F12 in browser)
- Verify both servers are running (backend + frontend)
- Check database connection
- Review the logs in terminal windows
Happy Celestial Tracking! 🌌✨