In this step, you have to run the command below in the terminal where your builder is opened.
npm run build
Go in your firebase console, and then go in Hosting. Click on Get started. Next, run the command to install the Firebase tools globally in your system.
npm install -g firebase-tools
Next, run the command to login in Firebase (Instructions on firebase console).
In your project root, run the command to initialize your firebase project.
In the options, select "Hosting" using the Space button on your keyboard. The selection should become green. Next select your project. For public folder enter build. On Configure as a single-page app enter y. Enter N to not overwrite any file. Next, run
and enjoy your site running on a super fast google environment. The console will tell you the link to your admin.
Firebase Hosting is ok, but there are use cases that you want to upload the React App Builder on your own Hosting / Server.
In this example, I will upload the build folder via File Manager. So let's start.
- Go inside the build folder . Full Path ( Builder/build )
- Zip all the files
- In your hosting, create domain or subdomain. ( For Extended / SaaS License - We suggest subdomain )
- Go in the File Manager
- Upload the Archive.zip ( the produced zip )
- Extract it with the File manager Unzip Functionality
Visit your domain or subdomain. React App builder should be functional there.
If you own a Regular license follow
If you own Extended - SaaS license follow