Skip to content

skraloupak/firebase-local

Repository files navigation

Firebase Local

Useful for emulating the Firebase server in tests. This is enough to make firebase admin work if you don't want to check any rules and don't upload any rule file. !!IMPORTANT!! auth().createCustomToken() dosn't work

Install on Travis via docker

Check file .travis.yml

  • set dist to trusty dist: trusty
  • install docker-compose in before_install
  • start docker in before_script
    • docker-compose -f docker-compose.yml up -d (if you want use another docker file for travis, just create new file for example: docker-compose.travis.yml and change it docker-compose.yml to docker-compose.travis.yml)
  • shutdown docker in after_script
    • docker-compose down

Running the project

  1. npm i - to install node.js packages
  2. ./bin/infra-start - initialize docker with firebase server
  3. npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors