Day 59: Deploying to Firebase

mtee

Margaret W.N

Posted on September 13, 2020

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

💖 💪 🙅 🚩
mtee
Margaret W.N

Posted on September 13, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Day 59: Deploying to Firebase
100daysofcode Day 59: Deploying to Firebase

September 13, 2020