diff --git a/README.md b/README.md index d989061..5f32767 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ ## Benefits of using this cli > 1. The ability to run up to three servers (worker, beat, flower) simultaneously in one terminal, instead of running by default in three different terminals. -> 2. Automatic reboot of these servers when your codebase changes +> 2. Automatic reboot of these servers when your codebase changes. ## Install 1. Install package @@ -51,7 +51,10 @@ Arguments can be passed in any order, it doesn't matter. ```shell # worker cmd -# (WARNING) Note that the default pool is solo, because of this, all tasks will be performed sequentially, to get parallelism, install one of the libraries [gevent | eventlet] and redefine the default pool in cmd. +# (WARNING) Note that the default pool is solo, +# because of this, all tasks will be performed sequentially, +# to get parallelism, install one of the libraries [gevent | eventlet] +# and redefine the default pool in cmd. celery -A worker -E -l INFO -P solo # beat cmd @@ -63,7 +66,8 @@ celery --broker=redis://localhost:6379// flower -A --url_prefix=flo > valid commands: ```shell -# redefining the -A and -P parameter and adding a new --broker parameter to the default worker command +# redefining the -A and -P parameter +# and adding a new --broker parameter to the default worker command python manage.py runcelery -w "-A -P gevent --broker=redis://localhost:6379//" # complete replacement of the default worker command with the passed command