Initialize the virtual environment:
make init
Run migrations (it will use a local sqlite database for development):
make makemigrations
Run the web server:
make serve
Run the bot (it requires a telegram token):
export TELEGRAM_TOKEN=...
make bot
This environment resembles the production environment as closely as possible.
Run migrations:
docker-compose run --build --rm migrate
Start the web app:
docker-compose up -d --build ingress
Access at http://localhost:8000
Create a superuser:
docker-compose run --rm web python manage.py createsuperuser
Start the Telegram bot:
export TELEGRAM_TOKEN=...
docker-compose up -d --build bot