Continuous deployments with CLI

You can integrate the NodeChef CLI with automation tools to deploy your app. You can use the below example commands to deploy your app.

In the below example, it is assumed your environment has Node.js installed

npm install -g nodechef-cli \ && nodechef login -em -pw 'my-password' \ && nodechef deploy -i simple-todos -e /home/simple-todos-apps/environment_variables.json


The above provides an example on how to possibly automate your deployments. Depending on your environment, you can adopt this example to suit your needs. Review all the options supported by the deploy command by using [nc deploy help]. After reviewing all the options available, you can further customize your deployments to suit your needs.