Topics


Pages


Content

Set up Firebase hosting

Log in to the console for help and to create or select a project.

1. Install the CLI

$ npm install -g firebase-tools

2. Initialize

$ firebase login
$ firebase init

3. Deploy

Put your static files in your app’s deploy directory (the default is public).

Then run this command from your app’s root directory:

$ firebase deploy

Then view your site at the URL shown in the console.

Demo app

Linked from the Firebase console.