Skip to content

A simple comment system based on LeanCloud and Valine. 👉

License

Notifications You must be signed in to change notification settings

at2008/Valine-Admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-js-getting-started

一个简单的使用 Express 4 的 Node.js 应用。 可以运行在 LeanEngine Node.js 运行时环境。

本地运行

首先确认本机已经安装 Node.js 运行环境。然后执行下列指令:

$ git clone [email protected]:leancloud/node-js-getting-started.git
$ cd node-js-getting-started

准备启动文件:

$ cp start.sh.example start.sh
$ chmod +x start.sh

将 appId 等信息更新到 start.sh 文件中:

export LC_APP_ID=<your app id>
export LC_APP_KEY=<your app key>
export LC_APP_MASTER_KEY=<your master key>

启动项目:

$ ./start.sh

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

部署到 LeanEngine

首先确认本机已经安装 LeanCloud 命令行工具

部署到测试环境:

$ avoscloud deploy

部署到生产环境:

$ avoscloud publish

相关文档

About

A simple comment system based on LeanCloud and Valine. 👉

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.0%
  • HTML 18.6%
  • CSS 8.4%