Installation¶
Prerequisites¶
- Python 3.12+
- Git
- SSH access to GitHub (for private repos)
- Systemd (for service management)
- Nginx (for reverse proxy)
Quick Install¶
# Clone the tenant manager
git clone git@github.com:Nominate-AI/cbtenant.git
cd cbtenant
# Create virtual environment
python -m venv venv
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Initialize database
python scripts/create_schema.py
# Start services
./startit.sh
Service Ports¶
| Service | Port | Description |
|---|---|---|
| Tenant Manager UI | 32200 | Frontend dashboard |
| Tenant Manager API | 32201 | REST API |
| Tenant Apps | 32300+ | Dynamic per-tenant |
Environment Variables¶
Create a .env file:
# Required
SECRET_KEY=your-secret-key-here
DATABASE_URL=db/manager.db
# Optional
DEBUG=true
FRONTEND_PORT=32200
BACKEND_PORT=32201