Base de conhecimento

1000 perguntas frequentes, 500 tutoriais e vídeos explicativos. Aqui, você encontra apenas soluções!

Install Lovable.dev content on an Infomaniak web hosting

This guide explains how to publish an application created with Lovable, using a Node.js-based website on Infomaniak.

 

Prerequisites

  • A Lovable project on a paid Lovable plan, synchronized with a GitHub repository.
  • A Node.js website.
  • A domain name or subdomain for the application.

 

1. Synchronize the Lovable project with GitHub

To do this:

  1. Open the project in Lovable.
  2. Open the project settings.
  3. Go to the Git > GitHub section:
  4. Connect the project to a GitHub account.
  5. Wait for the GitHub repository to be created and the synchronization to complete.

 

2. Download the ZIP archive from GitHub

To do this:

  1. Open the GitHub repository associated with the Lovable project.
  2. In GitHub, click on Code.
  3. Click on Download ZIP:
  4. Keep the downloaded ZIP archive.

 

3. Create the Node.js site on Infomaniak

To do this:

  1. Click here to access the hosting & website management section in your Infomaniak Manager (❓: help).
  2. Click on the name of the relevant hosting.
  3. Click the button to add a website.
  4. Select a project using advanced technologies.
  5. Choose Node.js.
  6. Associate the domain name or subdomain intended for the application.
  7. Select the custom method:
  8. Choose import via ZIP archive.
  9. Import the ZIP archive downloaded from GitHub:

Then, enter the following values:

  • Build command:

    npm install && npm run build
  • Execution command:

    npm start

Save the configuration.

Your site has been published.


Esta seção de perguntas frequentes foi útil?