PhusionPassenger deploy resources?


#1

I just started learning about PhusionPassenger and have read some of the docs. One thing that wasn’t quite clear, how do you update/deploy the resources when using phusion? We are currently running nginx separately and node under pm2 and I am wondering if Phusion will make scaling a bit easier.


#2

You either build your app and sftp it to your server

or git pull from your repo on your server and build it there.

https://www.phusionpassenger.com/library/walkthroughs/deploy/meteor/ownserver/nginx/oss/deploy_updates.html

Of course you can always bring CI into the mix


#3

Thanks, right now I pull the code and build and deploy in node on my app server and then on my listener I git pull my resources. How do I handle the nginx/resource part in Phusion, that was not clear to me.


#4

Passenger handles itself if you use it in nginx integration mode.