Skip to content

jaenswart/openshift-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mobile-deposit-ui

spring run app.groovy

Aside from standard Spring boot properties (eg: --server.port=8081), the following custom properties are supported:

  • api.host - configures the domain to send the API request
  • api.proto - configures the protocol to send the API request
  • api.port - configures the port to send the API request

Per Spring boot convention, the custom properties can be set a number of ways.

Here's a full example:

mvn clean package && java -jar target/mobile-deposit-ui-1.0-SNAPSHOT.jar --api.host="kmadel.com" --api.proto="httpsandsuch" --server.port=8081

Note you'll need to install the Spring Boot CLI https://spring.io/guides/gs/spring-boot-cli-and-js/#scratch