This is a Cloud Native App Initializer project derived from Spring Initializr, you can directly experience the function of the project through start.aliyun.com, which includes the following modules:
- initializer-generator: Generate Project Modules, part of the basic code of start.spring.io is referenced in the
io.spring.start.site
directory. - initializer-page: Front page
Please clone the project locally and make sure you have a Java 17 environment.
Make sure you have python installed on your computer.
In the project root directory, execute the following commands to install Node
and Yarn
:
mvn compile -P install-yarn
In the project root directory, execute the following command to copy the static files to the target of the initializer-generator
module:
mvn prepare-package
Enter the initializer-generator
module and execute the following command to start the application:
cd initializer-generator
mvn spring-boot:run
In the browser, enter http://127.0.0.1:7001/bootstrap.html
to use the initializer project for project bootstrap.
Before performing subsequent operations, please ensure that Docker has been installed in the relevant environment.
Execute the following command on the local command line to pull the initializer project image:
docker pull registry.cn-hangzhou.aliyuncs.com/cloud-native-app-initializer/initializer:latest
Execute the following command on the local command line to start the initializer container:
docker run -it -p 127.0.0.1:7001:7001 registry.cn-hangzhou.aliyuncs.com/cloud-native-app-initializer/initializer:latest
This project is a project under the Apache 2.0 license.