A fork of start.spring.io that runs at https://start.fullstack4j.dev. It offers everything start.spring.io does, plus Apache Wicket, through the Wicket Spring Boot Starter, in a Wicket-orange UI. Generated projects build with Maven by default.
The fork deliberately stays close to upstream, so that new Spring Boot versions and fixes keep arriving through regular merges:
-
start-site/src/main/resources/application.yml: the Apache Wicket entry at the top of the "Web" group, and Maven instead of Gradle as the default project type. Both are marked with afullstack4jcomment or sit next to one. -
start-client: the logo, colors, icons, social card, page metadata and links, and Wicket weighted first in the dependency search (src/Extend.json). -
Dockerfileandrailway.json: the container image and its Railway deployment.
$ git remote add upstream https://github.com/spring-io/start.spring.io.git # once $ git fetch upstream $ git merge upstream/main
Conflicts, if any, are limited to the files listed above. Upstream builds against Spring Initializr snapshots from https://repo.spring.io/snapshot, and so does this fork.
$ docker build -t fullstack4j-start . $ docker run -p 8080:8080 fullstack4j-start
On Railway, the service builds from the Dockerfile (see railway.json), listens on the
PORT Railway provides and reports its health at /actuator/health.
The live site, https://start.fullstack4j.dev, is that Railway service. It redeploys on every
push to main. The site can also be used from the command line, like start.spring.io:
$ curl https://start.fullstack4j.dev/starter.zip -d dependencies=wicket -o demo.zip
Spring is a trademark of Broadcom Inc. Apache Wicket is a trademark of The Apache Software Foundation. This project is not affiliated with or endorsed by either. The upstream README follows.
This repository configures a Spring Initializr instance with a custom UI running at https://start.spring.io. The following modules are available:
-
start-client: client-side assets -
start-site: server infrastructure and metadata configuration -
start-site-verification: tests to verify the validity of the metadata
There is a dedicated page that describes how you can interact with the service.
You need Java 17 and a bash-like shell.
Invoke the build at the root of the project
$ ./mvnw clean install
The project also includes a number of longer-running verification tests. They
can be built and run using the verification profile:
$ ./mvnw -Pverification clean install
The project’s other tests are not included in the verification profile. All of
the project’s tests can be run using the full profile:
$ ./mvnw -Pfull clean install
If building start-client fails, you may have an outdated cache that can be deleted as
follows:
$ cd start-client $ rm -rf .cache node_modules
As long as you’ve built the project beforehand (in particular start-client), you can
easily start the app as any other Spring Boot app:
$ cd start-site $ ../mvnw spring-boot:run
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.
This instance has a thin layer with our opinions about getting started with Spring Boot. You can reuse them but please keep in mind that this is not supported with the same level as the Spring Initializr library. The Web UI, in particular, is for our own purpose and is not particularly engineered to be easily extended.
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
The project creates a regular library jar and a repackaged archive that can be used to
start the application with the exec classifier. Once the build as completed, you can
push the application:
$ cf push your-start -p target/start-site-exec.jar
The start.spring.io website is Open Source software released under the Apache 2.0 license.