diff --git a/README.md b/README.md index 83f1b4191e21fdbc34cb9d1d5f5d8f0b3c352984..1a5cf17e1558ae1b89f9aefac6d77e16e383a50f 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,10 @@ Quick Setup 1. Clone this repository. 2. Create a virtualenv and install the requirements. -2a. Change pasth to deploy.sh in app.py -3. Open a second terminal window and start a local Redis server (if you are on Linux or Mac, execute `run-redis.sh` to install and launch a private copy). -4. Open a third terminal window. Start a Celery worker: `venv/bin/celery worker -A app.celery --loglevel=info`. -5. Start the Flask application on your original terminal window: `venv/bin/python app.py`. -6. Go to `http://localhost:5000/` and enjoy this application! +3. Change pasth to deploy.sh in app.py +4. Open a second terminal window and start a local Redis server (if you are on Linux or Mac, execute `run-redis.sh` to install and launch a private copy). +5. Open a third terminal window. Start a Celery worker: `venv/bin/celery worker -A app.celery --loglevel=info`. +6. Start the Flask application on your original terminal window: `venv/bin/python app.py`. 7. Start container with name myc. For example `docker run -it --name myc alpine sh`. 8. Start async task with `curl -X POST -i http://localhost:5000/longtask`. 9. Check status at url available in response.