Installation
ZephAI supports Python 3.11 through 3.14. The repository ships a `.venv` for local work; buyers should create their own environment on the target interpreter.
Requirements#
- Python 3.11, 3.12, 3.13 or 3.14
- SQLite for development, PostgreSQL 14+ for production
- Gunicorn and Nginx (or a platform that provides equivalent)
- Optional: S3/CloudFront for static and public media
- Optional: Stripe keys for live top-ups
Install#
python3.11 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
# edit .env: secret key, allowed hosts, site URL, email
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
Demo data#
python manage.py seed_zephai
Seed is idempotent for named demo rows. Use --catalogue-only on a production catalogue install to skip demo people and transactions. Never run the demo seed on a live database.
First-run setup#
Sign in as the superuser, open Space → Settings → Brand, update the identity and logo, then Theme for type and color. Re-run seed_zephai only on demo installs.
Static files#
python manage.py collectstatic --noinput
Development uses WhiteNoise. Production Nginx can serve staticfiles/ directly.