digital ocean - Deploy node.js app on digitalocean using Codeship -


i trying use codeship automatically deploy simple helloworld node.js app onto digitalocean droplet.

this custom script:

rsync -avz -e "ssh" ~/clone/ root@ip_address:/var/destination/ npm install npm start 

my intention whenever there code changes, codeship copy files destination folder, , perform npm install , npm start restart server automatically.

when run custom script, npm start cause codeship custom scripts stuck there, not returning, , no longer report successful deployment.

what common practise perform npm install/npm start/node server.js automatically?


Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -