diff --git a/Makefile b/Makefile index acb6dcc..b4df821 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all help build build-stage virtualenv requirements-local loaddata run migrate shell collectstatic clean +.PHONY: all help build build-stage virtualenv requirements-local loaddata run migrate shell collectstatic clean worker # target: all - Default target. Does nothing. all: @@ -67,5 +67,9 @@ clean_db: clean_venv: rm -rf $(VENV_DIR) -# target: clean - clean all temp files +# target: clean - Clean all temp files clean: clean_temp clean_venv clean_db + +# target: worker - Run celery worker +worker: + cd src && celery -A dokumentor worker -l info -E