Deploy my Lovable app with Node.js Hosting
Deploy your Lovable app faster and easier with Node.js Hosting to make it live and accessible to users.
Note: Don't use GitHub? See our article on uploading your AI-generated app as a file.
Required:
- Because AI coding assistants can create a broad range of apps, you may need to update your app to meet Node.js Hosting requirements for a successful deployment.
- To publish your Node.js Hosting app, you must have an available slot in your Web Hosting (cPanel) plan.
- Ensure your Lovable app is synced to GitHub. Learn more from lovable.dev.
- Go to Node.js Hosting and then select Connect GitHub.
- If needed, sign in to GitHub and then select Authorize to give Node.js Hosting GitHub access.
- Select the Repository dropdown menu and then select your desired repository.
- Select the Branch dropdown menu and then select your desired branch.
- Select Continue.
-
(Optional) Customize your app before deploying.
- Enter an app name.
- Select I need to add secrets for my app to boot and then add your secrets.
- Select Import & Deploy.
- Select your preview URL to view your app in a browser.
-
(Optional) Manage your app by selecting:
- Pull from GitHub: Perform a pull update on your app.
- Settings: Manage secrets, change your domain or delete your app
- Restart Preview App: Restart your preview.
- Runtime Logs: View your app logs.
- File Manager: View and edit your app files.
- Database: View and edit your app database.
- (Optional) If you need persistent files between deployments, have your application write these to the public/assets folder.
- When you're ready to go live, select Publish to Live.
If your deployment fails, review the build log and AI suggestions for possible issues to resolve. To manage your projects, go to Node.js Hosting and in the upper-right, select My Apps.