Skip to content

How to deploy on PWS(Cloud Foundry)

Kazuki Shimizu edited this page Apr 30, 2018 · 6 revisions

Download and Install CLI

https://github.com/cloudfoundry/cli/releases

Login to PWS(Cloud Foundry)

$ cf login -a api.run.pivotal.io
...

Build

$ ./mvnw clean package
...

Deploy to PWS(Cloud Foundry)

$ cf push jpetstore -p target/mybatis-spring-boot-jpetstore-2.0.0-SNAPSHOT.jar
...