git config core.hooksPath .githooks
- This will make it so that unit test run on your local commit. They also run in CI but these are much slower so it's good to know if it's going to pass before you push.
- You can skip this with the
--no-verify argument.
- Install Android SDK and emulator as per these instructions
- If using MacOS install Homebrew if not already installed as per these instructions
- Install npx if not already installed (MacOS)
- Install Node modules (too large to be committed)
cd fronted && npm install
- Go to the firebase console
- Create a
.env file for credentials
cd frontend && cp .env.example .env
- Open the Firebase console and navigate to: Allergy Detect -> 1 app (top left) -> gear icon -> scroll down to bottom
- populate
.env with the values in firebaseConfig