Get Fever Oracle up and running in minutes!
The easiest way to run the entire stack:
# Start all services
docker-compose up -d
# View logs
docker-compose logs -f
# Stop services
docker-compose downAccess:
- Frontend: http://localhost:8080
- Backend API: http://localhost:5000
- Database: localhost:5432
cd backend
# Create virtual environment (recommended)
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Run the server
python app.pyBackend will be available at http://localhost:5000
cd frontend
# Install dependencies
npm install
# Start development server
npm run devFrontend will be available at http://localhost:8080
-
Check backend health:
curl http://localhost:5000/api/health
-
Check frontend: Open http://localhost:8080 in your browser
-
Test API endpoints:
# Get all patients curl http://localhost:5000/api/patients # Get wastewater data curl http://localhost:5000/api/wastewater # Get alerts curl http://localhost:5000/api/alerts
- Port already in use: Change
PORTin.envor kill the process using port 5000 - Module not found: Make sure you've activated the virtual environment and installed requirements
- Data files not found: Ensure
data/directory exists with demo CSV/JSONL files
- Port already in use: Change port in
vite.config.tsor kill the process using port 8080 - API connection errors: Check that backend is running and
VITE_API_URLis set correctly - Build errors: Delete
node_modulesand runnpm installagain
- Port conflicts: Modify ports in
docker-compose.yml - Build failures: Check Docker logs:
docker-compose logs backendordocker-compose logs frontend - Volume permissions: Ensure data directory is readable
- Review the Architecture Documentation
- Explore the API endpoints in the README
- Run data ingestion scripts:
python scripts/ingest_wastewater.py python scripts/generate_synthetic_vitals.py
- Use environment variables for configuration (see
.env.example) - Enable hot reload in development mode
- Check browser console for frontend errors
- Check backend logs for API errors
- Use Postman or curl to test API endpoints