How to get google's free web hosting FIREBASE - Kanjoos tech

Breaking

Kanjoos Tech provides unique tech information,DIY,Tech News & many more.Your one stop tech destination.

Saturday 2 June 2018

How to get google's free web hosting FIREBASE

Hi Readers!!Here is Junes First Tech tricks:

How to get google's free web hosting FIREBASE?

So what is Firebase?


Firebase is a mobile and web application development platform developed by Firebase, Inc. in 2011, then acquired by Google in 2014.

Firebase Is A Google Product.Google is Providing the Web hosting Service. Its Totally Free &  We Can Trust on Google.You can Also Use your own custom domain. So Let's Get started..

Before starting, First ready with your tool kit:

1.High speed Wifi network.

Step1: First go to nodejs website and download the latest version and install it.

Step 2:Go to Google Firebase Website and Sign In With Your Google Account.

Step3: Create a new project.



Step4: Open Nodejs Terminal that You have installed and Copy Paste this command.


"npm install -g firebase-tools"
This is will install firebase in your computer.

Step5:Now open Node.js and type below comment.

"Firebase login"

This will login to your firebase account.Hit Y for accepting terms and conditions.

A new tab will open in browser,Click on allow button.

It will redirect you to anew page called that showing that you are logged in via CLI.

Close the Node JS that was opened.     

step 6:Make new folder on your desktop and Inside that make a new folder nammed as publicadd all web files that you want to host To Public Folder.


Step:7 The 1 st Folder Not The Public Folder and click on the directory , Type cmd.exe and press enter

Step8:In CMD, type below command and put enter.

    "Firebase init"

Hit Y if any question arrives

-Which Firebase CLI features do you want to setup for this folder? Press Space to select features, then Enter to confirm your choices. (Press <space> to select)

-Move Down With Keyboard Keys & Come To This Option and Press Space Button To Select.

(*) Hosting: Configure and deploy Firebase Hosting sites

Then Press Enter Button

Now You will See This Question 

Select a default Firebase project for this directory: (Use arrow keys)

Select That Project That you made in firebase account Login

And Press Enter

Then Answer The Questions According To This

? What do you want to use as your public directory?         public

? Configure as a single-page app (rewrite all urls to /index.html)?          No

✔ Wrote public/404.html

? File public/index.html already exists. Overwrite?        

No

After All questions type below command:

"Firebase deploy"

Press Enter

=== Deploying to ‘devdemo-c67e3’…

That's all!!Congrats.Now your website alive through your hosting URL.

Subscribe to our newsletter ,so that such interesting article and news are directly sent to your inbox.

Do a visit to our unboxing and review destination:DBX

Learn Affiliate marketting & start your internet earning today:TYR

If you have any doubt or suggestion just comment on below .

Thanks for reading.

1 comment:

Thanks!