From 67f37ea306bd6d327f19a9cecea9c3ddd1a552fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radim=20Pe=C5=A1a?= <2780@mail.muni.cz> Date: Fri, 14 Sep 2018 08:24:33 +0000 Subject: [PATCH] Update README.md --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 83f1b41..1a5cf17 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. -- GitLab