ShepHertz recently announced Node.js support on App42 PaaS. Now you can deploy your Express and CompoundJS application on App42PaaS. In this blog, I will walk you through the steps that you should be aware of while deploying Express apps on App42PaaS.
Let’s dive into the steps to be followed to deploy Node.js application on App42 PaaS. At this point, I assume that you already have App42 Client installed on your system and you have setup your local environment. If you have not, I will recommend you to have a look at my previous blog post Installing App42 PaaS Client and setting up the Environment.
Now let’s setup Node.js runtime environment on App42 PaaS to deploy your Express application. To do that, open command line and run app42 setupInfra command:
When you are setting up the environment, make sure to select Node as runtime. At present App42 PaaS supports Express and CompoundJS framework. So you can choose either Express or CompoundJS framework for Node.js. Once infrastructure setup is completed, you are ready to deploy your application.
You can deploy your application by using the GIT Repository URL or by creating a binary on your local development environment. Here we are going to deploy your application by providing your public Git Repository. If you don’t have Express application, you can get a sample express application from here.
To deploy the application, run app42 deploy command and follow the steps as shown below.
If you have any queries or require further assistance, please feel free to reach us at firstname.lastname@example.org.