Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

omengye/leanws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Getting started

一个简单的使用 Spring Boot 的 Java 服务端应用,打成 jar 包运行。 可以运行在 LeanEngine Java 运行时环境。

一键部署

Deploy to LeanEngine

本地运行

首先确认本机已经安装 LeanCloud 命令行工具,然后执行下列指令:

$ git clone https://github.com/leancloud/spring-boot-getting-started.git
$ cd spring-boot-getting-started

安装依赖:

mvn package

关联应用:

lean checkout

根据提示选择需要关联的应用。

启动项目:

lean up

应用即可启动运行:localhost:3000

部署到 LeanEngine

部署到预备环境(若无预备环境则直接部署到生产环境):

lean deploy

将预备环境的代码发布到生产环境:

lean publish

相关文档

About

ws for leancloud

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors