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. You can generate a deployment from the dashboard from the task manager section. Click on App actions → Deployment token.

npm install -g nodechef-cli \ && nodechef deploy -i simple-todos -e /home/simple-todos-apps/environment_variables.json \ -auth paste_your_deployment_token_here

Remarks

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.