The Reporter Who Took Down a Unicorn

In late September of 2015, Elizabeth Holmes, the CEO of the once-high-flying but now disgraced Silicon Valley health-care company Theranos, was in the News Corp. office of Rupert Murdoch. She had…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Hosting Your single Page web app On Firebase for Free.

Now be patient we are sooner getting our hands dirty.

Fig 1.0:- Pick a name for your project based on which google assign’s uniqueId
Fig 1.2:- Based on your Selection If “NO”. It will take you to the next screen
Fig 1.3:- “YaaY” Here is Your project ready Click On continue it will take you to Fig 1.4
Fig 1.4:- In the Build section you will get hosting it takes you to the above screen And Get started

Once you have set your project up online, you will need to add Firebase hosting to your project. To do this, you will need to first install Firebase CLI on your local machine:

The next step is to get authenticated, for that enter this command:

Now everything should be set up your CLI is connected to your firebase account. Now, Navigate to the root of your project and run:

Fig 1.5:- Enter “Y” to proceed
Fig 1.6:- Use the arrow keys to scroll to Hosting and then press space to select it.
Fig 1.8:- Here you can see the project that appeared what we have created in Fig 1.0 with the uniqueId
Fig 1.9:- After the selection of your project it will ask for the build folder which contains index.html mine is an Html project so directly I am giving a folder name that contains index.html inside it.
Fig 1.10:- Once you Enter the Folder name it will ask you that index.html is the page that will be going to be displayed so it needs to have all the configurations.

Once this is done, Firebase should be successfully set up for your project locally. To confirm that, check that firebase.json and .firebaserc have been added to your project.

All set, One command more and your application is going to see the light.

Your site will show a red HTTPS warning for a little bit, while Firebase provisions a free SSL certificate for you automatically. You don’t need to do anything as this process is automatic.

Whenever you need to deploy updates, make changes to the code in the public folder, and run firebase deploy again from your terminal. You should see changes deployed in under a minute.

The next, Blog will be about

Add a comment

Related posts:

A Roadmap to a Fulfilled Life

Jesus talked a lot about humility. He certainly practiced it and called his followers to practice it. Yet humility may be on the endangered list of spiritual practices. It is certainly the most…

Lesson learned from writing a service for WebdriverIO

At the end of 2019 I wrote my first service for a test framework called WebdriverIO and I must say that I have learned quite a lot when doing so. That's why I want to share my experience with you so…

Making Peace with the Wizard of Oz

My first memory of watching the Wizard of Oz is a brief flash lying on our 1970s gold velvet couch, watching Dorothy’s gray house get sucked up into the sepia tornado. I was lying down because I’d…