Getting Started with Firebase Hosting on the Web - Firecasts

Firebase · 214K views · 2016 · 7:07

Open on YouTube

Web developmentCloud, DevOps & reliabilitytutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it as the step-by-step setup guide for deploying a static site with the Firebase CLI, and people who hit deploy errors cite it as the tutorial they followed.

Recommended by 1 people across 1 different months, 2017 to 2017.

What it is

A 7-minute Firecasts episode from the official Firebase channel in which David East introduces Firebase Hosting, a static web hosting service with automatic SSL and a global CDN. He walks through deploying with the Firebase CLI and managing multiple environments.

What people said

Recommends James Poag · 2017-05 · Stack Overflow · on “Is it possible to access Firebase Storage resource URL directly?”

While this isn't the answer to your question, you should really be using Firebase Hosting [LINK] for this purpose. Firebase Storage is geared more towards User uploads and sharing than static content. Uploading to hosting is super simple using the Firebase CLI. [this video] You just put the files you want to host in the 'public' folder and run firebase deploy .

Cites smit patel · 2017-06 · Stack Overflow · on “firebase deploy error and fiebase.json empty file”

I'm following this tutorial Getting Started with Firebase Hosting on the Web - Firecasts [this video] I'm trying to host a simple index.html file in firebase but when I type firebase deploy its gives me the following error: No targets found. Valid targets are: database,storage,functions,hosting. hosting error image [LINK] I found my firebase.json file is empty it contains only { } .

Cites Huy Vo · 2017-12 · Stack Overflow · on “Firebase: Can't access css and js files while hosting a website on Firebase. Get this error: GET net::ERR_ABORTED”

I was trying to host an existed project on Firebase which already have a css and js file. But it didn't seem to include my css and js files into the website. I followed all of these steps: [this video] The project directory now looks like this: \public (folder) (containing: index.html 404.html) \css (folder) (containing: style.css) \js (folder) (containing: index.js) firebase.json .firebaserc Here is the website: [LINK] The index file looks like: <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="../css/style.css"> <!-- update the version number as needed --> <script defer src="/__/firebase/4.8.0/firebase-app.js">