Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 436 Bytes

startup.md

File metadata and controls

20 lines (12 loc) · 436 Bytes

How to Start the Program

  1. activate the virtual environment

  2. set the flask app by

    (a) cd'ing into ./canadaAps

    (b) export FLASK_APP=rentCanada.py

  3. run "flask run"

  4. new terminal. now run Celery.

    (a) again activate the venv

    (b) from project root, run

  5. "celery -A canadaAps.rentCanada worker --loglevel=INFO"

How to purge the worker queue

** PURGE cmd ** "celery -A canadaAps.rentCanada purge"