Skip to content

ChicoState/allergydetect

Repository files navigation

Allergy Detect

Pre-Commit Hooks

  • run:
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.

Frontend setup

  • 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)
brew install npm
  • Install Node modules (too large to be committed)
cd fronted && npm install
  • Start project
npx expo start
  • If you're using vim and MacOS you may need to add set regexpengine=0 to your .vimrc. Link to issue
  • More info

Firebase setup

  • 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors