You can deploy a Node hapi app to Unubo in a few steps.
Create an app
Preparing your app
All apps on Unubo run on various ports. Use the "PORT" environment variable to allow Unubo to set the port for your app.
const PORT = process.env.PORT || 3000;
Connect your GitHub account and choose which repo you want to deploy from.
Visit the Connect to GitHub page to learn about managing repo access.
Add the following command in the commands list.
Note that by default Unubo adds the
npm install --production command. This command does not install dev dependencies of your app.
If you need to install dev dependencies, add
npm install to the list of commands.
Select the "Deploy" button to deploy your app to Unubo. Once the build process is complete, your app will now be live.
Unubo creates a unique URL based on the name of your app