mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-18 16:27:16 -04:00
Merge pull request #35 from rac2030/firebase
Thanks so much. I tweaked just few of the words, but this is solid and a great start. Thanks much for your help!
This commit is contained in:
commit
e4c59bf042
@ -23,22 +23,22 @@ aliases: []
|
||||
|
||||
Go to the [Firebase console][console] and create a new project (unless you already have a project). You will need to globally install `firebase-tools` (node.js):
|
||||
|
||||
|
||||
```sh
|
||||
npm install -g firebase-tools
|
||||
```
|
||||
|
||||
Log in to Firebase (setup on your local machine) using `firebase login`, which opens a browser where you can select your account. Use `firebase logout` in case you are already logged in but to the wrong account.
|
||||
|
||||
|
||||
```sh
|
||||
firebase login
|
||||
```
|
||||
|
||||
In the root of your Hugo project, initialize the Firebase project with the `firebase init` command:
|
||||
|
||||
```sh
|
||||
firebase init
|
||||
```
|
||||
|
||||
From here:
|
||||
|
||||
1. Choose Hosting in the feature question
|
||||
@ -59,6 +59,7 @@ hugo && firebase deploy
|
||||
|
||||
You can generate a deploy token using
|
||||
|
||||
|
||||
```sh
|
||||
firebase login:ci
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user