GithubHelp home page GithubHelp logo

philwebb / start.spring.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spring-io/start.spring.io

1.0 2.0 0.0 582 KB

https://start.spring.io

License: Apache License 2.0

Dockerfile 0.16% Shell 0.11% JavaScript 27.56% CSS 11.01% Java 60.93% HTML 0.23%

start.spring.io's Introduction

start.spring.io initializr

This repository configures a Spring Initializr instance with a custom UI running at https://start.spring.io. The following defines are available:

  • start-client: client-side assets

  • start-site: server infrastructure and metadata configuration

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

The project also has Selenium tests that instrument the client side. In order to run them you need first to install Firefox and the latest geckodriver.

Once those are installed you can run the smoke tests by enabling an extra profile:

$ ./mvnw verify -PsmokeTests

Running the app locally

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

$ cd start-site
$ ../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:

$ cd start-site
$ ../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.

start.spring.io's People

Contributors

snicoll avatar oodamien avatar wilkinsona avatar bclozel avatar mbhave avatar mehdi-vaadin avatar ryanjbaxter avatar zhesun88 avatar qtdzz avatar joshiste avatar davsclaus avatar royclarkson avatar spring-operator avatar juhopiirainen avatar spencergibb avatar olgamaciaszek avatar mstahv avatar kazuki43zoo avatar jdubois avatar bdemers avatar habuma avatar eddumelendez avatar htztomic avatar hananiel avatar mminella avatar philwebb avatar pantur avatar wonwoo avatar

Stargazers

ji hun choi avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.