Skip to content
Snippets Groups Projects
Commit 67f37ea3 authored by Radim Peša's avatar Radim Peša
Browse files

Update README.md

parent cd7ff29a
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment