Skip to content

Latest commit

 

History

History
79 lines (51 loc) · 2.08 KB

CONTRIBUTING.md

File metadata and controls

79 lines (51 loc) · 2.08 KB

Contributing

Thanks for considering contributing to Hamagen - Israel's Ministry of Health's COVID-19 exposure prevention app!

Opening issues

If you find a bug, please feel free to open an issue.

If you are taking the time to mention a problem, even a seemingly minor one, it is greatly appreciated, and a totally valid contribution to this project. Thank you!

Adding new features

Thinking of adding a new feature? Cool! Open an issue and let’s design it together.

Fixing bugs

We love pull requests. Here’s a quick guide:

  1. Fork this repository and then clone it locally:
git clone https://github.com/<yourUserName>/hamagen-react-native/
  1. Create a topic branch for your changes:
git checkout -b fix-for-that-thing
  1. Commit a failing test for the bug:
git commit -am "Adds a failing test to demonstrate that thing"
  1. Commit a fix that makes the test pass:
git commit -am "Adds a fix for that thing!"
  1. Run the tests:
npm test
  1. If everything looks good, push to your fork:
git push origin fix-for-that-thing
  1. Submit a pull request.

Local Database Retrieval

Make sure your app is debuggable.

$ adb exec-out run-as com.hamagen.dev cat databases/Reactoffline.db > app_db.sqlite

Debug & Release

Please make sure that you've created a keystore.properties file in your project's root dir with following variables set:

HAMAGEN_KEYSTORE_PATH = '../path/to/release.keystore'
HAMAGEN_STORE_PASSWORD= 'release store password'
HAMAGEN_KEY_ALIAS= 'release key alias'
HAMAGEN_KEY_PASSWORD= 'release key password'

HAMAGEN_DEBUG_KEYSTORE_PATH = '../path/to/debug.keystore'
HAMAGEN_DEBUG_STORE_PASSWORD= 'debug store password'
HAMAGEN_DEBUG_KEY_ALIAS= 'debug key alias'
HAMAGEN_DEBUG_KEY_PASSWORD= 'debug key password'