Flask Dramatiq Example Save

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

Project README

flask_dramatiq_example

Deploy

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

:warning: A full-featured Flask-Dramatiq extension is now available! :cake:

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.

Open Source Agenda is not affiliated with "Flask Dramatiq Example" Project. README Source: Bogdanp/flask_dramatiq_example
Stars
31
Open Issues
0
Last Commit
5 years ago

Open Source Agenda Badge

Open Source Agenda Rating