- 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
install the project with maven
mvn spring-boot:run
mvn package
mvn package docker:build
docker run -p 8085:8085 -t elstarit/spring.forward.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 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