Skip to content

Instantly share code, notes, and snippets.

@pydevops
Last active November 1, 2018 22:25
Show Gist options
  • Save pydevops/73ffaf57cd54cd9bbafea63c62c8e371 to your computer and use it in GitHub Desktop.
Save pydevops/73ffaf57cd54cd9bbafea63c62c8e371 to your computer and use it in GitHub Desktop.
set up firebase demo

Steps

  1. git clone https://github.com/pydevops/quickstart-js.git on your laptop.
  2. Insert the corresponding firebase web app config copied from firebase web console in storage/index.html
  3. Set up for development and deploy
$ brew install node # install node if you haven't
$ npm install -g firebase-tools
$ cd storage
$ firebase login
$ firebase use --add # add an active firebase project **firebase-project-id** with an alias
$ firebase serve   # Start development server
  1. firebase deploy to https://<firebase-project-id>.firebaseapp.com/

JWT token

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment