add comand in makefile for run worker celery

feature/docker
Dmitriy Shesterkin 9 years ago
parent e097f0e8cb
commit 3e69e25afb
  1. 8
      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

Loading…
Cancel
Save