# travellerArk-web **Repository Path**: icetomoyo/travellerArk-web ## Basic Information - **Project Name**: travellerArk-web - **Description**: travellerArk-web - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-04-18 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # node-js-getting-started 一个简单的使用 Express 4 的 Node.js 应用。 可以运行在 LeanEngine Node.js 运行时环境。 ## 本地运行 首先确认本机已经安装 [Node.js](http://nodejs.org/) 运行环境和 [LeanCloud 命令行工具](https://leancloud.cn/docs/cloud_code_commandline.html),然后执行下列指令: ``` $ git clone git@github.com:leancloud/node-js-getting-started.git $ cd node-js-getting-started ``` 安装依赖: ``` npm install ``` 关联应用: ``` avoscloud add ``` 这里的 appId 填上你在 LeanCloud 上创建的某一应用的 appId 即可。origin 则有点像 Git 里的 remote 名称。 启动项目: ``` avoscloud ``` 应用即可启动运行:[localhost:3000](http://localhost:3000) ## 部署到 LeanEngine 部署到测试环境: ``` avoscloud deploy ``` 部署到生产环境: ``` avoscloud publish ``` ## 相关文档 * [LeanEngine 指南](https://leancloud.cn/docs/leanengine_guide-node.html) * [JavaScript 指南](https://leancloud.cn/docs/js_guide.html) * [JavaScript SDK API](https://leancloud.cn/api-docs/javascript/index.html) * [命令行工具详解](https://leancloud.cn/docs/cloud_code_commandline.html) * [LeanEngine FAQ](https://leancloud.cn/docs/cloud_code_faq.html)