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)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

AWS GenAI LIVE!

GenAI LIVE! is a dynamic live-streamed show exploring how AWS and our partners are helping organizations unlock real value with generative AI.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️