An example app demonstrating how you can use Dramatiq with Flask.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
templates
.env
.gitignore
LICENSE
Pipfile
Pipfile.lock
Procfile
README.md
app.json
app.py
setup.cfg

README.md

flask_dramatiq_example

Deploy

An example app demonstrating how you can use Dramatiq with Flask.

Setup

  1. Clone the repo, then run pipenv install.
  2. Run Postgres, then run psql -c "create database flask_dramatiq_example;" -U postgres.
  3. Run RabbitMQ.
  4. Run pipenv run python -c 'from app import Model, database; Model.metadata.create_all(database)' to create the database.
  5. Run the web server: pipenv run flask run --reload.
  6. Run the workers: pipenv run dramatiq app.

License

flask_dramatiq_example is licensed under Apache 2.0. Please see LICENSE for licensing details.