Monday 19 December 2016

Utilize staging with PM2 for Node-apps?

I am looking into deploying to a VPS with PM2 and have some questions that I could not find answers to, could you please enlighten me?TLDR: PM2 is a tool to both run node-apps but also to deploy them to a different host. What is staging used for?Staging This term is often used when talking about deployment, but what does it really mean? Is it to deploy the last version to the environment as a separat app and to test it manually, for example with test.domain.com? What is the real purpose with staging?Using staging to test Well, if staging can be used to "test" the app on the VPS before also deploying in production mode, should not staging be seen as a separat app? (At least in the config file?) In PM2 the configuration ecosystem is used, but when I try to deploy staging the staging-app is not added to pm2 as a running service, only the production app is listed in pm2 list.This example of a ecosystem contains both a production and a staging deployment can be found here: http://ift.tt/2hAbHOl you!

Submitted December 19, 2016 at 03:08PM by ProfessorRekyl

No comments:

Post a Comment