-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added more clear directions on how to deploy a stream after cloning the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` | ||
 | ||
|
||
- 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. | ||
|