Skip to content

Commit

Permalink
[#190] add instructions for using CELERY_ALWAYS_EAGER when testing lo…
Browse files Browse the repository at this point in the history
…cally
  • Loading branch information
marisahoenig committed Oct 28, 2020
1 parent 30cd5d6 commit e461040
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ Note:

`flask run -p 6011 --host=0.0.0.0`

Note: When running locally, you can block all tasks from executing locally by blocking until the task returns.
To use this, you need to set celery to always eager by setting `'task_always_eager': True` in `config.py`
`CELERY_SETTINGS`. Do not commit this change.

14a. To test

`pip3 install -r requirements_for_test.txt`
Expand Down

0 comments on commit e461040

Please sign in to comment.