Initialize the virtual environment:
make initRun migrations (it will use a local sqlite database for development):
make makemigrationsRun the web server:
make serveRun the bot (it requires a telegram token):
export TELEGRAM_TOKEN=...
make botThis environment resembles the production environment as closely as possible.
Run migrations:
docker-compose run --build --rm migrateStart the web app:
docker-compose up -d --build ingressAccess at http://localhost:8000
Create a superuser:
docker-compose run --rm web python manage.py createsuperuserStart the Telegram bot:
export TELEGRAM_TOKEN=...
docker-compose up -d --build bot