- create a bitbucket account if you don't have one
- clone project
- in IDE or on command line run mvn clean install in directory of project
For this demo I use MongoDb locally on my machine. Information about how to install MongoDb locally , see https://docs.mongodb.com/manual/installation/
To see what is going on in my MongoDb environment I use MongoDB Compass Community https://docs.mongodb.com/compass/master/install/
install the project with maven, mvn clean install
mvn spring-boot:run
mvn package
mvn package docker:build
docker run -p 10000:10000 -t elstarit/reactive-streams-starter
docker ps
docker stop
mvn spring-boot:run -Pprod
the Spring boot 2.0 way
mvn spring-boot:run -Dspring-boot.run.profiles=prod
For Cloud Foundry you need the cloud Foundry CLI, https://docs.cloudfoundry.org/cf-cli/install-go-cli.html
cf login --sso -a https://api.ng.bluemix.net (SSO login, will be asked for a 1 time password)
cf login -u userName -o orgName -s spaceName
cf app push reactive-streams-starter -f manifest.yml
cf login --sso -a api.run.pivotal.io (SSO login, will be asked for a 1 time password)
cf login -u userName -o orgName -s spaceName
cf push reactive-streams-starter -f manifest.yml
There is a Swagger UI
http://localhost:10000/swagger-ui.html
where you can test the endpoints
http://localhost:10000/reactive/streams/router/topic/all
http://localhost:4200/