Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.39 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.39 KB

Gitpod ready-to-code

How to use this repository

This repository is meant to be used with the Firestore and Functions Emulator Codelab.

There are two folders in this respository, codelab-starting-state and codelab-final-state. To walk through the codelab, clone down the project, git clone github.com/firebase/emulators-codelab, cd codelab-starting-state, and then follow along with the codelab steps. To see the front end, functions, or security rules, written in the codelab, cd into codelab-final-state, instead.

How to make contributions?

Please read and follow the steps in the CONTRIBUTING.md

License

See LICENSE

firebase settings

  1. create firebase project
  2. create firestore db
  3. enable anonymous authentication

steps:

$ cd codelab-initial-state/
$ cd functions && npm install && cd -
$ npm install -g firebase-tools
$ firebase --version
$ firebase login --no-localhost
$ firebase projects:list
$ firebase use --add
$ firebase emulators:start

Resources

https://medium.com/better-programming/dockerize-your-development-environment-in-vs-code-d55ba8d705a9 https://www.youtube.com/watch?v=fPtGgOJykTM&list=WL&index=12&t=0s