Unitech / pm2-deploy

Deploy part of PM2
http://pm2.keymetrics.io/docs/usage/deployment/
MIT License
178 stars 71 forks source link

How to use pre-deploy to install node/nvm if missing #158

Open ethanwillis opened 6 years ago

ethanwillis commented 6 years ago

So if I have a completely clean server with nothing installed can I use pre-deploy to install nvm and select a node version?

Are there any issues with this? Or does pm2-deploy handle this for me? I haven't found any clear answers when I've read the docs or googled around.

devansvd commented 5 years ago

use pre-setups for install, it's like setting up the dependencies pre-setup: "apt-get install git ; ls -la" https://pm2.io/doc/en/runtime/guide/easy-deploy-with-ssh/#easy-deploy-with-ssh