- 下载代码
将代码下载到电脑上
https://github.com/Shinetek/ShinetekView-app - 分别使用GIT BASE工具使用
npm install
命令安装api和app下的package.json - 将bower_components移入app下的app中
- 修改app下的worldview.js中的最后一行
增加'127.0.0.1'
require('http').createServer(app).listen(4000,'127.0.0.1', function () { console.log("HTTP Server listening on port: %s, in %s mode", 4000, app.get('env')); });
- 启动:
使用cmd分别用pm2启动api和app下的文件
网址路径为:http://127.0.0.1:4000/shinetekview