An example app demonstrating how you can use Dramatiq with Flask.
- Clone the repo, then run
pipenv install
. - Run Postgres, then run
psql -c "create database flask_dramatiq_example;" -U postgres
. - Run RabbitMQ.
- Run
pipenv run python -c 'from app import Model, database; Model.metadata.create_all(database)'
to create the database. - Run the web server:
pipenv run flask run --reload
. - Run the workers:
pipenv run dramatiq app
.
flask_dramatiq_example is licensed under Apache 2.0. Please see LICENSE for licensing details.