Setup & Installation
Get HyperOps running locally or in production.
Prerequisites
- • Python 3.11+
- • PostgreSQL 14+
- • Redis 7+
- • Docker & Docker Compose (optional)
Local Development
1. Clone the repository
git clone https://github.com/HYPEROPSDEV/hyperops-backend cd hyperops
2. Create virtual environment
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
3. Install dependencies
pip install -r requirements.txt
4. Setup environment
cp .env.example .env # Edit .env with your configuration
5. Start development server
uvicorn app.main:app --reload
Environment Variables
DATABASE_URL=postgresql://user:password@localhost:5432/hyperops_db SECRET_KEY=your-secret-key-here OPENAI_API_KEY=sk-... CLAUDE_API_KEY=sk-ant-... GEMINI_API_KEY=AIzaSy... DEFAULT_AI_PROVIDER=openai REDIS_URL=redis://localhost:6379/0 ENV=development