Add travel service celery workers to Lola backend commands

This commit is contained in:
Jeremy Dormitzer 2019-11-08 11:46:11 -05:00
parent 962a2dd6e9
commit 03f1bd28bf

View File

@ -3033,6 +3033,14 @@ Some functions to make my day job easier.
"python bin/start_web.py"
(get-python-setup "travel-service")))
(defun lola-travel-service-celery ()
(interactive)
(run-service-in-eshell
"*lola-travel-service-celery*"
"~/lola/lola-travel-service"
"python bin/start_celery_workers.py"
(get-python-setup "travel-service")))
(defun lola-secrets ()
(interactive)
(run-service-in-eshell
@ -3066,6 +3074,7 @@ Some functions to make my day job easier.
(defun lola-run-all ()
(interactive)
(let ((fns (list #'lola-travel-service
#'lola-travel-service-celery
#'lola-server
#'lola-celery-worker
#'lola-desktop
@ -3097,6 +3106,7 @@ Some functions to make my day job easier.
(leader-def-key "Ls" #'lola-server)
(leader-def-key "Lc" #'lola-celery-worker)
(leader-def-key "Lt" #'lola-travel-service)
(leader-def-key "LT" #'lola-travel-service-celery)
(leader-def-key "Ld" #'lola-desktop)
(leader-def-key "Lw" #'lola-wallet)
(leader-def-key "LS" #'lola-secrets)