pyfedi/dev_notes.txt

19 lines
419 B
Text
Raw Normal View History

for celery, run this:
celery -A celery_worker.celery worker --loglevel=INFO
on prod web server, celery is managed by systemd: /etc/default/celeryd and /etc/systemd/system/celeryd.service
sudo systemctl stop celeryd
sudo systemctl restart celeryd or sudo service celeryd restart
*** check for celery-related problems by looking in /var/log/celery ***
2024-02-13 00:28:33 -08:00
for profiling:
use
python profile_app.py
instead of
flask run