Skip to content

black-night-heron/celery-flask-factory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Celery-Flask-Factory

A demo of using celery in Flask with Application Factories.

Get started

  1. Set up the virtualenv:

    pipenv install
  2. Refer here to configure and start PostgreSQL service.

    You can also find a more detailed tutorial at ArchWiki.

  3. Refer here to install and start RabbitMQ.

  4. Initialize the database.

    flask initdb
  5. Kickoff a celery worker:

    celery -A app.celery worker
    
  6. Run flask sever:

    flask run

About

A demo of using celery in Flask with Application Factories.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages