A discord bot that spits out a new quote each day.
Installation for development with docker
- Copy .env.example and rename to .env
cp .env.example .env
- Configure the .env file and start the docker container
docker compose up
- Database migrations via alembic
# Connect to the docker container
docker exec -it dna-quote-bot /bin/bash
# Run migrations
alembic upgrade head
That's it. The application is running in docker. You can now connect to the docker container and develop.
# Auto-generate migrations
alembic revision --autogenerate -m "<Migration Name>"
# Run migrations
alembic upgrade head
# Downgrade to previous commit
alembic downgrade -1
# Upgrade to next commit
alembic upgrade +1