imbra - How to Deploy a Node.js App From GitHub in iPanel

Deploy a Node.js application from your GitHub repository to your iPanel website. This guide covers the full workflow from cloning to running your Node.js app.

Steps

  1. Create a Node.js website in iPanel if you have not already (see the website creation guide).

    [screenshot: node.js website created]

  2. Navigate to your website management page and click the GIT card on the Home tab.

    [screenshot: git card on home tab]

  3. Connect your GitHub account if not already connected by clicking Connect GitHub.

    [screenshot: connect github button]

  4. In the add deployment form, select your GitHub Account, choose your Node.js repository, and select the branch to deploy.

    [screenshot: add deployment form with node.js repo selected]

  5. Click Clone to download the repository to your server.

    [screenshot: clone button]

  6. After cloning, click Deploy and confirm the deployment.

    [screenshot: deploy button and confirmation]

  7. Go to the Node.js tab and click Install from package.json to install your dependencies.

    [screenshot: installing node.js dependencies]

  8. Click Restart on the Node.js tab to start your application.

    [screenshot: restart button on node.js tab]

Tip: Make sure your package.json includes a start script so iPanel knows how to run your application.

Related Articles