/start.spring.io

https://start.spring.io

Primary LanguageJavaApache License 2.0Apache-2.0

start.spring.io initializr

This repository configures a Spring Initializr instance running at https://start.spring.io.

Building from Source

You need Java 1.8 and a bash-like shell.

Building

Invoke the build at the root of the project

$ ./mvnw clean install

Running the app locally

You can easily start the app as any other Spring Boot app:

$ ./mvnw spring-boot:run

Running the app in an IDE

You should be able to import the project into your IDE with no problems. Once there you can run the StartApplication from its main method and debug it. If you also need to work on the library, adding the initializr project in your workspace would make sure to reload the app whenever you make any change.

This is the recommended way to operate while you are developing the application, especially the UI.

Deploying to Cloud Foundry

If you are on a Mac and using homebrew, install the Cloud Foundry CLI:

$ brew install cloudfoundry-cli

Alternatively, download a suitable binary for your platform from Pivotal Web Services.

You should ensure that the application name and URL (name and host values) are suitable for your environment before running cf push.

First, make sure that you have built the application, then make sure first that the jar has been created:

$ ./mvnw package

Once the jar has been created, you can push the application:

$ cf push your-start -p target/start-site.jar

License

The start.spring.io website is Open Source software released under the Apache 2.0 license.