From c802caf5d9d5d9f7a2d33785badcdb1b3a9ce783 Mon Sep 17 00:00:00 2001 From: Cahlen Humphreys Date: Wed, 31 Oct 2018 23:17:07 -0600 Subject: [PATCH] Update README.md Added more clear directions on how to deploy a stream after cloning the repository. --- README.md | 39 +++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index e3a872b..c4757ef 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,34 @@ ### basic scdf pipeline -To deploy +- First you need to clone the repository + ``` + git clone https://github.com/cahlen/basic-scdf-pipeline.git + ``` -``` -docker-compose up -d -``` +- Use docker-compose to deploy the stream + ``` + cd basic-scdf-pipeline + docker-compose up -d + ``` -Register the apps +- Register the applications using the following shell script so that +you can create the stream (give it a few minutes to boot up the docker-compose environment) + ``` + ./tools/register-apps.sh + ``` -``` -./tools/register-apps.sh -``` - -Log into `http://localhost:9393/dashboard` to create the stream. Deploy the stream and point your web browser to `http://localhost:8889` to the test collection to see the results. +- To create the stream in the Spring Cloud Data Flow UI point your browser +to the following URI + ``` + http://localhost:9393/dashboard + ``` + ![SCDF Stream Create UI](docs/images/create-stream-screen.png) + +- Deploy the stream +- Point your web browser to the mongo-express UI at + ``` + http://localhost:8889 + ``` + And choose the `test` database and the `starbucks` collection within that + database to view the results. +