DEV Community

Margaret W.N
Margaret W.N

Posted on

Day 59: Deploying to Firebase

I deployed the web page to Firebase today. Here is an overview of the process.

  • Create a new project in firebase
  • Install the Firebase CLI using (on ubuntu)
curl -sL https://firebase.tools | bash
Enter fullscreen mode Exit fullscreen mode
  • Login from the terminal by running:
firebase login
Enter fullscreen mode Exit fullscreen mode
  • Initialize firebase
firebase init
Enter fullscreen mode Exit fullscreen mode

I selected the hosting option and set the root folder to default (public).

  • Serve to localhost using:
firebase serve
Enter fullscreen mode Exit fullscreen mode
  • Deploy using
firebase deploy
Enter fullscreen mode Exit fullscreen mode

Here is the link the deployed site: My weather app

Day 59

Top comments (0)