diff --git a/docs/installation/basic.md b/docs/installation/basic.md index ff363ce578..6486595d2e 100644 --- a/docs/installation/basic.md +++ b/docs/installation/basic.md @@ -80,7 +80,7 @@ redis-3.2.1/src/redis-server & export INTEGRATE_SOCKETIO=false # socketio has problems with celery "blocking" tasks # also socketio is not used in a celery task so no problem to turn it off -celery worker -A app.celery & +celery worker -A app.instance.celery & unset INTEGRATE_SOCKETIO # run app diff --git a/docs/installation/local.md b/docs/installation/local.md index 7c2c568cf8..3099c20753 100644 --- a/docs/installation/local.md +++ b/docs/installation/local.md @@ -162,7 +162,7 @@ brew install redis # Run Celery # socketio has problems with celery "blocking" tasks # also socketio is not used in a celery task so no problem to turn it off -INTEGRATE_SOCKETIO=false celery worker -A app.celery +INTEGRATE_SOCKETIO=false celery worker -A app.instance.celery # run app python3 manage.py runserver diff --git a/docs/installation/mac-os.md b/docs/installation/mac-os.md index fdbe577a1f..97763d1227 100644 --- a/docs/installation/mac-os.md +++ b/docs/installation/mac-os.md @@ -98,7 +98,7 @@ redis-3.2.1/src/redis-server & export INTEGRATE_SOCKETIO=false # socketio has problems with celery "blocking" tasks # also socketio is not used in a celery task so no problem to turn it off -celery worker -A app.celery & +celery worker -A app.instance.celery & unset INTEGRATE_SOCKETIO # run app diff --git a/kubernetes/run.sh b/kubernetes/run.sh index 05f996898d..385eba3cf0 100755 --- a/kubernetes/run.sh +++ b/kubernetes/run.sh @@ -15,5 +15,5 @@ if [ "$DEPLOYMENT" == "celery" ] then echo "[LOG] Starting celery worker" export INTEGRATE_SOCKETIO=false - celery worker -A app.celery --loglevel=warning + celery worker -A app.instance.celery --loglevel=warning fi diff --git a/scripts/container_start.sh b/scripts/container_start.sh index 5a6a8ea8c6..3be6a6b7c4 100644 --- a/scripts/container_start.sh +++ b/scripts/container_start.sh @@ -24,5 +24,5 @@ then echo "[LOG] Starting celery worker" export INTEGRATE_SOCKETIO=false export CELERY_LOG_LEVEL=${CELERY_LOG_LEVEL:-info} - celery worker -B -A app.celery --loglevel=$CELERY_LOG_LEVEL $CELERY_EXTRA_ARGS + celery worker -B -A app.instance.celery --loglevel=$CELERY_LOG_LEVEL $CELERY_EXTRA_ARGS fi diff --git a/scripts/heroku.sh b/scripts/heroku.sh index 2807aa71dc..3e51e9eac2 100644 --- a/scripts/heroku.sh +++ b/scripts/heroku.sh @@ -5,7 +5,7 @@ export INTEGRATE_SOCKETIO=false # socketio has problems with celery "blocking" tasks # also socketio is not used in a celery task so no problem to turn it off chmod -R 0777 ./static -celery worker -A app.celery --loglevel=info & +celery worker -A app.instance.celery --loglevel=info & if [ "$APP_CONFIG" = "config.DevelopmentConfig" ]; then python manage.py runserver -h 0.0.0.0 -p ${PORT:-8000} --no-reload else diff --git a/scripts/run.sh b/scripts/run.sh index c82a6505b3..6e59eed653 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -15,6 +15,6 @@ fi redis-3.2.1/src/redis-server & # run worker -celery worker -A app.celery & +celery worker -A app.instance.celery & # run app python3 manage.py runserver -h 0.0.0.0 -p 5000