You can deploy a static React app to Unubo in a few steps.
Create an app
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.
Set source folder
In the Repository section, set the
Source folder to
/build. This directory is created from the
npm run build command.
Add the following command in the commands list.
|npm run build|
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.
npm run build command will create a static build of your project in a folder called "build". Go to the "Deployment settings" of your app
/build in the "Publish path" section.
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