andruschka / pm2-meteor

Simplest way to deploy, scale and run Meteor Apps with PM2.
https://www.npmjs.com/package/pm2-meteor
160 stars 38 forks source link

What about Git? #47

Open nicooprat opened 7 years ago

nicooprat commented 7 years ago

First, many thanks for this tool. Works like a charm. With Keymetrics it's really powerful!

I don't really get what you mean by "you can deploy with a git repo". What I'm looking for is a way to fetch origin master directly on the server, bundle the app there and so on. The must would be that the server detects new pushes to master :) But I don't think it's the case, because it would need Meteor to be installed on the server I suppose. So, does that mean that's it's still running locally, only "ignoring" uncommitted changes (eg. referring to branch master)? Could you clarify this point?

Thanks again.

andruschka commented 7 years ago

Yes you are right. This one fetches the repo and builds it on your machine. Then deploys it to the server. But yes it would be cool if it could be build on the server - you are right. I think i will implement this.