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-05-14 01:42:15 +01:00
|
|
|
- Log in 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
|
|
|
|
2021-02-11 17:51:58 +00: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`
|