Unitech / pm2-deploy

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

I don't have git on my server, will it PM2 is useful to run production? #168

Open javeedrahman opened 5 years ago

javeedrahman commented 5 years ago

Hi guys,

I don't have git used in my server, I am using deployHQ to deploy the git file to the server. In this case, should I try to use PM2? only for listening to the code changes and updating the server.

Is it possible?

kounelios13 commented 4 years ago

@javeedrahman I don't really believe that's possible since(as far as I know) pm2 deploy relies on git.Would you mind telling me why you don't have git on your server

javeedrahman commented 4 years ago

@kounelios13 Due to our server requirements we don't installed GIT. But I have achieved running PM2 using DeployHQ Command line.

kounelios13 commented 4 years ago

Sorry my initial understanding of the question was wrong.I though you needed to use pm2 deploy command.(in that case yes you need git).However for setting up your project and starting it with pm2 you don't need git

javeedrahman commented 4 years ago

@kounelios13 yes, Thank you