Odd Industries charting
First we need to start the Firebase Functions emulator. On the odd-vision-functions repository run, in two different terminals:
``bash`
yarn build:watch
and then
`bash`
yarn serve
Once started, visit Functions to see it in action.
First we need to start the Firebase Firestore emulator:
`bash`
firebase emulators:start --only firestore
Once started, we should seed it:
`bash`
export FIRESTORE_EMULATOR_HOST="localhost:5000" && node ./tests/restore/index.js
If you don't have data to seed with, you can download some via:
`bash`
unset FIRESTORE_EMULATOR_HOST && node ./tests/restore/index.js
Once seeded, visit Firestore to see it in action.
On the odd-charting repository (here) run:
`bash`
yarn test:unit
or
`bash`
yarn test:integration
```
yarn release