What is Spring?
Spring is an open source web application framework developed based on the Java language.
21YunBox provides a very simple Spring project deployment method. You can deploy on the 21YunBox by using the Java runtime environment.
How to Deploy a Spring Project to the Server in China?
- Signup on 21YunBox
- On Gitee Fork Spring Boot Startup Template
- Create a Cloud Service on 21YunBox, and allow 21YunBox to access your code base (repo)
- Use the following values during creation:
Runtime | Java |
---|---|
Build command | ./gradlew bootJar |
Start command | java -jar build/libs/spring-boot-0.0.1-SNAPSHOT.jar --server.port=10000 |
Note:
Please modify the
jar
package path in Start Command according to your project name, such as:java -jar build/libs/xxx.jar --server.port=10000
21YunBox default read port
10000
Spring Boot Startup Template is based on the Startup Project as a basis.
Within seconds, your Spring service can be accessed at app_id.21cloudbox.com
.
Related Posts
- How to Deploy Laravel Apps in China? (2022 updated)
- How to Deploy Parse Dashboard in China? (A Step-by-Step Guide)
- How to Host WordPress in China?
- How to host Ghost Blog in China?
- How to Deploy Ruby on Rails Apps in China? (A Step-by-Step Guide)
- How to Deploy Go Gin Apps in China? (A Step-by-Step Guide)
- How to Deploy Streamlit App in China? (A Step-by-Step Guide)
- How to Deploy Express Apps in China? (A Step-by-Step Guide)
- How to Deploy Django Apps in China? (A Step-by-Step Guide)
- How to Deploy Python Flask Apps in China? (A Step-by-Step Guide)
Recent Posts
-
Shopify China: A Comprehensive Guide to Making Your Store Thrive in the Chinese Market (2024 Updated)
Jan 7, 2024
-
Unleashing Heroku's Full Potential in China for Web Applications: A Practical Guide (2023 Update)
Dec 3, 2023
-
Your Ultimate Guide to Launching Apps on Huawei, Xiaomi, Oppo, Vivo, and Tencent Stores
Dec 1, 2023
-
Guide to Preparing Your Mobile App for ICP Filing in China
Nov 20, 2023
-
Unlocking Success: A Comprehensive Guide to B2B Marketing in China
Nov 17, 2023