Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Environments

Each environment (demo, production) runs two systemd services: an auth server (dodeka-auth-{env}) and a Python backend (dodeka-backend-{env}). Both need to be started separately, but they connect to each other automatically. Always start/restart auth before the backend.

Service Names

EnvironmentAuth serviceBackend service
Demododeka-auth-demododeka-backend-demo
Productiondodeka-auth-productiondodeka-backend-production

Files

Environment files live in:

  • dodeka/backend/envs/demo/.env
  • dodeka/backend/envs/production/.env
  • dodeka/backend/auth/envs/demo/.env
  • dodeka/backend/auth/envs/production/.env

Database files live next to those environment files.

Operations

Common deployment commands now live on the main Deployment page.

For backups and restore, see Backups.

For a new server, see Setting up from scratch.