Ensure Node.js is installed on your computer and then install the CLI by running the below command:
Log in and navigate to the Dashboard. Click on deployments and complete the form. You will be required to select the size of your container and the region where your cluster is to be hosted.
If you will like to launch your app with custom environment variables follow the below steps.
On NodeChef, you may use a Procfile to specify a start command for your App. An example Procfile is shown below. You must create a Procfile in the root folder of your application. If a Procfile is not included, the platform uses the default start command provided by the buildpack to start the application.
NodeChef can also detect your manifest.yml typically used for cloud foundry deployments. The command property under application will be auto detected by the platform if present and will use it as the start command.
From the command prompt run the below command(s) to deploy your application
On NodeChef, the root folder of your app in the executing container, that is the $HOME directory is always "/bundle". Please take note of this if you are migrating from another platform and you have hard coded the root directory.
Supported buildpack values include:
You will typically use this buildpack with the phoenix-static buildpack to compile your static assets (Js, CSS, SASS etc). The below command shows how to use the phoenix-static buildpack together with the elixir buildpack