Skip to content

Commit

Permalink
Add extra information to push the application to a Cloud, like IBM Cl…
Browse files Browse the repository at this point in the history
…oud and Pivotal
  • Loading branch information
flinden68 committed Sep 16, 2019
1 parent 137948d commit 5aede8c
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,24 @@ mvn spring-boot:run -Dspring-boot.run.profiles=prod
```

## Push to CloudFoundry
For Cloud Foundry you need the cloud Foundry CLI, https://docs.cloudfoundry.org/cf-cli/install-go-cli.html

### Push to IBM Cloud
```
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 spring-forward-starter
```

### Pivotal
```
bluemix login -u userName -o orgName -s spaceName
bluemix app push spring-forward-starter
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 spring-forward-starter -f manifest.yml
```

## Swagger
http://localhost:8085/spring-starter/swagger-ui.html

## Demo page
http://localhost:8085/spring-starter/page/demo
http://localhost:8085/spring-starter/page/demo

0 comments on commit 5aede8c

Please sign in to comment.