DEV Community

Margaret W.N
Margaret W.N

Posted on

2 1

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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay