Linux
https://tinylab.gitbooks.io/shellbook/content/zh/chapters/01-chapter1.html
https://github.com/qinjx/30min_guides/blob/master/shell.md
$ cd ./api/
# db.json
# nodemon -w server.js 8888
# json-server -w -p 3000 db.json
$ /bin/sh sudo db.sh
bash shell
https://tinylab.gitbooks.io/shellbook/content/zh/chapters/01-chapter1.html
https://linuxconfig.org/bash-scripting-tutorial
shit cli
https://github.com/remy/nodemon/wiki#options
https://teamtreehouse.com/community/how-do-i-stop-nodemon
$ ps -ef | grep node
$ sudo kill -9 <PID>
http://jpsierens.com/tutorial-livereload-nodemon-gulp/
https://medium.com/quick-code/node-js-restful-api-with-dynamodb-local-7e342a934a24
https://www.codementor.io/olatundegaruba/nodejs-restful-apis-in-10-minutes-q0sgsfhbd
https://medium.freecodecamp.org/building-a-simple-node-js-api-in-under-30-minutes-a07ea9e390d2
https://zellwk.com/blog/crud-express-mongodb/
Advanced, production process manager for Node.js
$ npm install pm2 -g
https://pm2.keymetrics.io/docs/usage/quick-start/
https://doc.pm2.io/en/runtime/guide/ecosystem-file/
https://pm2.keymetrics.io/docs/usage/application-declaration/
shit cli
https://github.com/remy/nodemon/wiki#options
https://teamtreehouse.com/community/how-do-i-stop-nodemon
$ ps -ef | grep node
$ sudo kill -9 <PID>
http://jpsierens.com/tutorial-livereload-nodemon-gulp/
https://medium.com/quick-code/node-js-restful-api-with-dynamodb-local-7e342a934a24
https://www.codementor.io/olatundegaruba/nodejs-restful-apis-in-10-minutes-q0sgsfhbd
https://medium.freecodecamp.org/building-a-simple-node-js-api-in-under-30-minutes-a07ea9e390d2
https://zellwk.com/blog/crud-express-mongodb/
#!/bin/sh
# echo "^-v-^ JSON DB is running in development env!" && npm run db
echo "^-v-^ JSON DB is running in development env!" && nodemon -w ./server.js localhost 8888
# chmod +x db.sh
# sudo ./db.sh
# nodemon -w ./server.js localhost 8888
# /bin/sh db.sh
# ps -ef | grep node
# sudo kill -9 <PID>
https://www.binarytides.com/linux-ps-command/
https://www.lifewire.com/uses-of-linux-ps-command-4058715
https://www.binarytides.com/linux-ps-command/
https://www.computerhope.com/unix/ups.htm
xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
手机扫一扫
移动阅读更方便
你可能感兴趣的文章