mirror of
https://github.com/blackboxprogramming/BlackRoad-Operating-System.git
synced 2026-03-17 00:57:12 -05:00
This commit fixes the Railway build failure by: 1. **Root requirements.txt**: Added root-level requirements.txt that references backend/requirements.txt, enabling Railway's Nixpacks to auto-detect Python project and install dependencies correctly. Fixes "pip: not found" error. 2. **backend/__init__.py**: Created package init file to make backend a proper Python package, allowing uvicorn to import backend.app.main. 3. **railway.toml**: Simplified configuration for single-service monorepo deployment: - Uses NIXPACKS builder (auto-detects Python) - Starts with: uvicorn backend.app.main:app --host 0.0.0.0 --port $PORT - Health check at /health - Configured for app.blackroad.systems deployment Technical details: - Backend entrypoint: backend/app/main.py:app (FastAPI) - Health endpoint: /health returns JSON with service status - Frontend: BR-95 desktop UI served at / from backend/static/index.html - API health: /api/health provides comprehensive integration status Deployment target: - Railway project: gregarious-wonder - Service: BlackRoad-Operating-System - Domain: app.blackroad.systems
4 lines
53 B
Python
4 lines
53 B
Python
"""
|
|
BlackRoad Operating System - Backend Package
|
|
"""
|