- Requires a firebase project setup for functions and hosting
- Populate the appropriate keys in the FirebaseService.ts
- Install required globals
npm i -g yarn
- Install local deps
yarn install
- Start the dev server
yarn start
- To lint your code
yarn run lint
- To autofix errors
yarn run lint:fix
- To autofix errors
- Install local deps
cd functions && npm install
- Start the functions
npm start
- Install required globals
npm i -g firebase-tools
- Login to your firebase account
firebase login
- This account will require deployment accesss for hosting / functions in firebase
- Run deployment script
yarn run deploy
yarn run deploy:hosting
will deploy just the UIcd functions && npm run deploy
will deploy just the Functions
- Relies on Codeship which contains the credentials for connecting to firebase
- When a new refresh token is needed, update the FIREBASE_TOKEN environment variable with the token generated by
firebasse login:ci
The following commands are run for CI phase "setup"
npm i -g yarn
yarn install
The following commands are run for the CI phase "test pipelines"
yarn run lint
The following commands are run for the CI phase "deploy"
cd functions
npm i
cd ..
npm i -g firebase-tools
yarn run deploy
- FIREBASE_TOKEN - required for firebase-tools