Skip to content
 
 

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-spring-boot-app

A very simple Spring Boot app

For demonstrating the workflow in the presentation Java on cloud.gov.au

Prerequisites

  1. Git

  2. JDK

  3. Maven

  4. Cloud Foundry Cli and access to a PCF instance

Clone the repository

git clone https://github.com/alphillips/simple-spring-boot-app.git
cd simple-spring-boot-app/

Create a branch

git checkout -b feature

Make some code change. Including tests

Run the tests

mvn test

For intergration tests, start the app first

mvn spring-boot:run

Then

mvn integration-test

When you are ready to deploy, package the app.

mvn package

Login to PCF

cf login

Spin new environment and deploy.

cf push feature

About

A very simple Spring Boot app

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages