You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
805 B

see also:
http://stackoverflow.com/questions/22210919/how-to-deploy-node-js-app-to-cloud-server
https://github.com/rlidwka/sinopia
https://github.com/yyx990803/pod
https://github.com/mbrevoort/node-reggie
https://github.com/substack/ploy
https://github.com/AndyGrom/node-deploy-server
http://stackoverflow.com/questions/21823379/how-to-upload-files-using-nodejs-and-hapi
https://github.com/materliu/grunt-upload-file/blob/master/tasks/upload_file.js
pm2-as-srv
pm2-as-cli
reverse proxy!
/as/ -> as
/<name>
app.json
.app.json
- name
- main
- max
- prefix
appdir
pm2cmd
admin login/password
C POST /as/app/<name>
<payload>
R GET /as/app/<name>/status
status
R GET /as/app/<name>/{start,restart,reload,stop}
status
U PUT /as/app/<name>
<payload>
D DELETE /as/app/<name>