Home | CLI | Emulators | Deployment
Welcome new developer! Please read below to get started :)
Run shell commands in VSCode terminal (from the root directory unless stated otherwise).
Install programs & extensions:
Install CLI tools & VSCode extensions:
npm run install-tools
Login to Firebase
firebase login
firebase use default
Install deps, build project, and setup configuration:
yarn config set ignore-engines true
yarn && yarn build && yarn config-sync
Open 3 terminals & execute these commands (in order):
- Watch
common
&functions
(build when the source changes) - Start cloud services
emulator
(fake db, auth, cloud functions) - Load example data & start
hosting
webserver (w/ auto-update)
Terminal 1 | Terminal 2 | Terminal 3 |
---|---|---|
yarn watch |
yarn emu |
yarn seed && yarn dev |
Ask for help on Phits.Tech Discord :)