Skip to content

Commit

Permalink
Added firebase-cli to setup guide
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunsaker committed May 20, 2018
1 parent 6a36048 commit 1b6bbd5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Feel free to [get in touch](mailto:shaun@aux.co.za) if you have questions or sug

# TODOS

* Add Firebase CLI setup
* Add TOC to SETUP_GUIDE and STYLE_GUIDE
* Add version control (react-native-version)
* Add a CHANGELOG that ships with project
Expand All @@ -28,8 +27,6 @@ Feel free to [get in touch](mailto:shaun@aux.co.za) if you have questions or sug

# ENHANCEMENTS

* LocationHandler permissions handling could be more robust?
* System messages management (array of messages displayed sequentially)
* FileSystem sagas and services (moveFile, deleteFile etc)
* Phone authentication
* Password reset in-app (fully fledged)
Expand Down
12 changes: 11 additions & 1 deletion SETUP_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ Copy the fonts to `./android/app/src/assets/fonts`.

Follow this [guide](https://medium.com/react-native-training/adding-custom-fonts-to-react-native-b266b41bff7f).

13. Add Storybook
## 13. Add Storybook

1. Setup:

Expand All @@ -728,3 +728,13 @@ getstorybook
```

2. Remove boilerplate code, ie. Button, Welcome.

## 14. Add firebase-cli

```shell
npm install -g firebase-tools
firebase login
firebase init
```

See the (docs)[https://github.com/firebase/firebase-tools] for a list of useful commands.
1 change: 1 addition & 0 deletions STYLE_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ We use the [Flux Standard Action](https://github.com/redux-utilities/flux-standa

### Firebase

* Avoid manipulating the Firebase database via the console. It's much safer (and faster) to use the cli.
* Do not use arrays in Firebase. Use objects indexed by IDs.

### Lists
Expand Down

0 comments on commit 1b6bbd5

Please sign in to comment.