Monday, 3 April 2017

Deployment of node.js app in one step

We just finished developing a node.js application which includes a Restful API and a Mssql database .

I will need to deploy the app in in-house servers of companies having Windows 2008 and windows 2012 environments

What i want to achieve :

  • The best case is to make the deployment in an one-step procedure .

What i m currently doing :

  • Clone the project in a dir

  • Run npm install ( Best case scenario is to have all dependencies in a folder to avoid problems with versions or npm )

  • Deploy the db using a script

  • Start processes with pm2 process manager

Is there anyway to pack all these steps in a simple step ? Something alternative to docker for example ? (I can't use docker because is not compatible with most of the OS )



via Alex Lemesios

No comments:

Post a Comment