mogi-server:MogiSmartPolicing 解决方案的服务器 API-源码

上传者: 42159267 | 上传时间: 2021-07-13 16:05:02 | 文件大小: 41KB | 文件类型: ZIP
Mogi 应用服务器 Project Mogi/SmartPolicing 解决方案的服务器 API 建造 首先确保您已正确安装 NodeJS 和 NPM(查看以获取帮助)。 npm install -g forever nodemon express npm install 数据库 服务器需要 PostgreSQL 数据库。 连接字符串应该放在 /lib/config/env/ json 文件中。 部署 在 /lib/config/env/ 创建一个 production.json 文件 将 db 变量保存在服务器的 production.json 中 在项目根文件夹上运行 grunt server 部署后需要重新运行 grunt server 来重新启动应用程序

文件下载

资源详情

[{"title":"( 48 个子文件 41KB ) mogi-server:MogiSmartPolicing 解决方案的服务器 API-源码","children":[{"title":"mogi-server-master","children":[{"title":"fillgroupPositions.js <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"upload-capetown.sh <span style='color:#111;'> 401B </span>","children":null,"spread":false},{"title":"createAdminUser.js <span style='color:#111;'> 598B </span>","children":null,"spread":false},{"title":"Gruntfile.js <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"migrations","children":[{"title":"20140923143304-insert-date-in-history.js <span style='color:#111;'> 443B </span>","children":null,"spread":false},{"title":"20140506171156-add-column-grop-position.js <span style='color:#111;'> 386B </span>","children":null,"spread":false},{"title":"20140318105826-add-admin.js <span style='color:#111;'> 260B </span>","children":null,"spread":false},{"title":"20140530151659-locations_table_more_info.js <span style='color:#111;'> 886B </span>","children":null,"spread":false},{"title":"20140714143603-create-history.js <span style='color:#111;'> 728B </span>","children":null,"spread":false},{"title":"20140609152651-user_profile_picture_column.js <span style='color:#111;'> 291B </span>","children":null,"spread":false}],"spread":true},{"title":"upload-linode.sh <span style='color:#111;'> 403B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"users","children":[{"title":"index.js <span style='color:#111;'> 11.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"db","children":[{"title":"accessToken.js <span style='color:#111;'> 683B </span>","children":null,"spread":false},{"title":"user.js <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"group.js <span style='color:#111;'> 611B </span>","children":null,"spread":false},{"title":"video.js <span style='color:#111;'> 780B </span>","children":null,"spread":false},{"title":"location.js <span style='color:#111;'> 938B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 881B </span>","children":null,"spread":false},{"title":"history.js <span style='color:#111;'> 694B </span>","children":null,"spread":false}],"spread":true},{"title":"auth","children":[{"title":"index.js <span style='color:#111;'> 3.30KB </span>","children":null,"spread":false}],"spread":true},{"title":"locations","children":[{"title":"index.js <span style='color:#111;'> 5.32KB </span>","children":null,"spread":false}],"spread":true},{"title":"pictures","children":[{"title":"index.js <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false}],"spread":true},{"title":"streams","children":[{"title":"index.js <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false}],"spread":true},{"title":"groups","children":[{"title":"index.js <span style='color:#111;'> 825B </span>","children":null,"spread":false}],"spread":false},{"title":"config","children":[{"title":"views","children":[{"title":"wizard.html <span style='color:#111;'> 3.80KB </span>","children":null,"spread":false}],"spread":false},{"title":"env","children":[{"title":"all.json <span style='color:#111;'> 592B </span>","children":null,"spread":false},{"title":"test.json <span style='color:#111;'> 392B </span>","children":null,"spread":false},{"title":"development.json <span style='color:#111;'> 582B </span>","children":null,"spread":false}],"spread":false},{"title":"wizard.js <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 201B </span>","children":null,"spread":false}],"spread":false},{"title":"histories","children":[{"title":"index.js <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false}],"spread":false},{"title":"videos","children":[{"title":"storage","children":[{"title":"file.js <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 95B </span>","children":null,"spread":false}],"spread":false},{"title":"index.js <span style='color:#111;'> 5.19KB </span>","children":null,"spread":false}],"spread":false},{"title":"templates","children":[{"title":"forgotPass","children":[{"title":"html.ejs <span style='color:#111;'> 83B </span>","children":null,"spread":false},{"title":"style.css <span style='color:#111;'> 88B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"loadgroup.js <span style='color:#111;'> 265B </span>","children":null,"spread":false},{"title":"app.js <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"config","children":[{"title":"config.json <span style='color:#111;'> 449B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 17.60KB </span>","children":null,"spread":false},{"title":"copcast-db.sql <span style='color:#111;'> 9.44KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 653B </span>","children":null,"spread":false},{"title":".editorconfig <span style='color:#111;'> 173B </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"users","children":[{"title":"users.me.js <span style='color:#111;'> 800B </span>","children":null,"spread":false},{"title":"users.online.js <span style='color:#111;'> 768B </span>","children":null,"spread":false}],"spread":false},{"title":"mocks","children":[{"title":"auth.js <span style='color:#111;'> 439B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":".gitignore <span style='color:#111;'> 170B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明