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:
Ryan Watters 2017-03-15 02:30:09 -05:00 committed by GitHub
commit e4c59bf042

View File

@ -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
```
@ -82,4 +83,4 @@ firebase deploy --token $FIREBASE_DEPLOY_TOKEN
[console]: https://console.firebase.google.com
[Quick Start]: /getting-started/quick-start/
[signup]: https://console.firebase.google.com/
[Wercker]: /hosting-and-deployment/deployment-with-wercker/
[Wercker]: /hosting-and-deployment/deployment-with-wercker/