mars

Firebase Hosting Complete Setup How to use Firebase Hosting

Learn how to deploy your websites to Firebase! In this Firebase hosting tutorial I'll introduce you to the Firebase service and show you how to get up & running by installing the firebase tools (Firebase CLI)

In this Video, we will be hosting a static website for absolutely free. 


A Static website is a website which does not have any dynamic rendering and does not have service side rendering. It can still talk to APIs.


We will use Google Firebase Hosting as our hosting provider. Google Firebase provides free web hosting for 1GB of data and 10GB of data transfer limit for a month.

https://firebase.google.com/​


You can also connect to your custom domain in the basic plan and have many projects and websites running in that shared resource.


Steps:

Install NodeJs: 

https://nodejs.org/en/download/​


Once Node is installed, install google firebase tools in your computer

npm install -g firebase-tools


Google console link

https://console.firebase.google.com/​


Login to firebase

firebase login


Itinialize project

Once you are in your project folder, use "firebase init" to initialize your project.


Deploy Project

Create a public folder and paste all your files in there, once that is done use "firebase deploy" to deploy your project


That's it. 

Easy website hosting in under 10 minutes :)


#Website​ #Hosting​ #WebsiteHosting​ #Google​ #Firebase

Post a Comment

0 Comments