Installation¶
Prerequisites¶
- Python 3.12+
- Node.js 18+
- Docker & Docker Compose
- Poetry (Python package manager)
Clone the Repository¶
Python Environment Setup¶
# Create and activate virtual environment
python -m venv .venv
source .venv/bin/activate
# Install dependencies with Poetry
poetry install
Frontend Dependencies¶
Environment Configuration¶
Copy the example environment files:
Configure the following in your .env files:
DJANGO_SECRET_KEY- Django secret keyDISCORD_CLIENT_ID- Discord OAuth app client IDDISCORD_CLIENT_SECRET- Discord OAuth app secretSTEAM_API_KEY- Steam API key for Dota2 integration
Docker Images¶
Pull or build the Docker images:
source .venv/bin/activate
# Pull pre-built images
inv docker.all.pull
# Or build locally
inv docker.all.build
Database Setup¶
source .venv/bin/activate
inv db.migrate.all # Run migrations for all environments
# Or for specific environment:
# inv db.migrate.dev # Dev only (default)
# inv db.migrate.test # Test only
# inv db.migrate.prod # Prod only
Verify Installation¶
Visit https://localhost to verify the application is running.