docker build tthack/videohosting .
cp config.example.toml config.toml
- change some constants if you need todocker-compose up
docker exec -ti tthack-videohosting poetry run alembic upgrade head
docker exec -ti tthack-videohosting poetry run python src/init_db.py
- Create migration:
poetry run alembic revision --autogenerate -m "comment"