Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Added more clear directions on how to deploy a stream after cloning the
repository.
  • Loading branch information
cahlen committed Nov 1, 2018
1 parent cdf8abb commit c802caf
Showing 1 changed file with 29 additions and 10 deletions.
39 changes: 29 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit c802caf

Please sign in to comment.