tldr/pages/common/firebase.md

29 lines
692 B
Markdown
Raw Normal View History

2020-10-05 14:57:14 +01:00
# firebase
2021-04-20 18:50:07 +01:00
> Test, manage, and deploy Firebase projects from the command line.
2020-10-05 14:57:14 +01:00
> More information: <https://github.com/firebase/firebase-tools>.
2021-04-20 18:50:07 +01:00
- Login to <https://console.firebase.google.com>:
2020-10-05 14:57:14 +01:00
`firebase login`
2021-04-20 18:50:07 +01:00
- List existing Firebase projects:
2020-10-05 14:57:14 +01:00
`firebase projects:list`
2020-10-05 14:57:14 +01:00
2021-04-20 18:50:07 +01:00
- Start an interactive wizard to create a Firebase project in the current directory:
2020-10-05 14:57:14 +01:00
2021-04-20 18:50:07 +01:00
`firebase init`
2020-10-05 14:57:14 +01:00
2021-04-20 18:50:07 +01:00
- Deploy code and assets to the current Firebase project:
2020-10-05 14:57:14 +01:00
`firebase deploy`
2021-04-20 18:50:07 +01:00
- Start a local server to statically host the current Firebase project's assets:
`firebase serve`
- Start an interactive wizard to open one of many links of the current Firebase project in the default web browser:
`firebase open`