Skip to content

Deploy to Firebase Hosting

Matt Thompson edited this page Feb 14, 2021 · 2 revisions

You can follow Firebase's official Firebase Hosting docs to utilize Firebase's free static hosting for your firetable site. When you get to the Hosting Setup section of firebase init in the Firebase CLI, be sure to answer the questions as follows:

=== Hosting Setup

Your public directory is the folder (relative to your project directory) that
will contain Hosting assets to be uploaded with firebase deploy. If you
have a build process for your assets, use your build's output directory.

? What do you want to use as your public directory? (public) /
? What do you want to use as your public directory? /
? Configure as a single-page app (rewrite all urls to /index.html)? (y/N) y
? Configure as a single-page app (rewrite all urls to /index.html)? Yes
? Set up automatic builds and deploys with GitHub? (y/N) n
? Set up automatic builds and deploys with GitHub? No
? File //index.html already exists. Overwrite? (y/N) n
? File //index.html already exists. Overwrite? No
i  Skipping write of //index.html

i  Writing configuration info to firebase.json...
i  Writing project information to .firebaserc...
i  Writing gitignore file to .gitignore...

+  Firebase initialization complete!

Clone this wiki locally