This Repo contains the codebase for our current website at https://twio-x.de/.
- uv – installs Python and all dependencies
- SQLite – the local database; Python ships with it, the
sqlite3CLI is optional - MySQL client library and
pkg-config– needed to buildmysqlclient- macOS:
brew install mysql-client pkgconfandexport PKG_CONFIG_PATH="$(brew --prefix mysql-client)/lib/pkgconfig" - Debian/Ubuntu:
apt install default-libmysqlclient-dev pkg-config
- macOS:
git clone https://github.com/twiox/web
cd web
uv sync
uv run manage.py migrate
uv run manage.py createsuperuser
uv run manage.py runserverOpen http://localhost:8000 and log in with your superuser.
No configuration needed: twio_web/settings.py defaults to local development (debug on, db.sqlite3, emails printed to the console). Every value can be overridden with an environment variable.
uv run manage.py testDeployed with Coolify from docker-compose-server.yml. The values come from environment variables set in Coolify. SECRET_KEY is required. The SQLite database lives at SQLITE_PATH on the sqlite-volume.