You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 years ago | |
|---|---|---|
| .gitignore | 3 years ago | |
| LICENSE | 3 years ago | |
| README.md | 3 years ago | |
| autocomplete.zsh | 3 years ago | |
| dev_requirements.in | 3 years ago | |
| dev_requirements.txt | 3 years ago | |
| docker-compose-rabbit.yml | 3 years ago | |
| docker-compose-redis.yml | 3 years ago | |
| requirements.in | 3 years ago | |
| requirements.txt | 3 years ago | |
| tasks.py | 3 years ago | |
README.md
learn_dramatiq
Learn Dramatiq basics
Docker Compose Backends
Since Dramatiq supports Redis and RabbitMQ as queue backends, there are two separate docker-compose files for each. The redis backend has no persistence, while the rabbit backend has a .rabbitdata/ persistence attached as a volume mount.
Invoke
All invoke tasks reside in the tasks.py file at the root of the project. Use invoke --list or inv -l to print out a list of available commands. Use inv <cmd> --help for additional details.
A bash complete wrapper script autocomplete.zsh was generated with invoke --print-completion-script zsh > autocomplete.zsh. Simply source this file to enable autocomplete for invoke. Use bash instead of zsh to generate a bash autocomplete wrapper.