Skip to content

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

License

Notifications You must be signed in to change notification settings

Bogdanp/flask_dramatiq_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask_dramatiq_example

Deploy

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

⚠️ A full-featured Flask-Dramatiq extension is now available! 🍰

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published