From 6f253e8f8ac56f70582853eb8fd2b39d07fa1b34 Mon Sep 17 00:00:00 2001 From: Christopher Baklid Date: Tue, 22 May 2018 23:00:05 +0200 Subject: puts the webapp in a docker container and puts it in docker-compose --- README.md | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 37c904a..bd1278a 100644 --- a/README.md +++ b/README.md @@ -58,20 +58,12 @@ pipenv run python runner/publish.py ## Docker compose -Start both rabbitmq and a consumer with docker-compose +Start all the containers with docker-compose ```bash docker-compose up ``` -## Try the webapp +this boots up rabbitmq, the snekbox and a webinterface on port 5000 -After getting docker-compose to run the rabbitmq server and the consumer - -try running the webapp in another terminal - -```bash -pipenv run python webapp/webapp.py -``` - -and then open up the page: http://localhost:5000 (or whatever address it's running on) +`http://localhost:5000` -- cgit v1.2.3