【文件属性】:
文件名称:mapitout:MapItOut的全栈资源
文件大小:799KB
文件格式:ZIP
更新时间:2021-05-01 11:05:13
map mern location-based-services JavaScript
Mapitout
一个众包平台,每个人都可以与社区更新并共享有用的基于位置的信息。
初始设置
$ git clone git@github.com:mapitout/mapitout.git
$ cd mapitout
$ ./scripts/setup.sh
开发
$ cd client
$ npm run dev
<!-- go to http://localhost:8080/ -->
$ cd server
$ npm run dev
<!-- go to http://localhost:8000/ -->
测验
$ npm run test
部署
部署前端:推送/合并到主节点,将触发此Travis Worker 生成文件并将其推送
部署后端:运行NPM脚本,它将把服务器子目录推送到此[heroku应用程序]( ),只有管理员可以执行这种部署,建议您发送PR和让管理员为您做。