chengmu / node-js-getting-started

LeanEngine Node.js getting started.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-js-getting-started

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

本地运行

首先确认本机已经安装 Node.js 运行环境和 LeanCloud 命令行工具,然后执行下列指令:

$ git clone git@github.com:leancloud/node-js-getting-started.git
$ cd node-js-getting-started

安装依赖:

npm install

启动项目:

avoscloud

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

部署到 LeanEngine

部署到测试环境:

avoscloud deploy

部署到生产环境:

avoscloud publish

相关文档

About

LeanEngine Node.js getting started.


Languages

Language:JavaScript 55.0%Language:CSS 45.0%