Small update of README
This commit is contained in:
@@ -4,7 +4,10 @@ A menstrual cycle tracking app that's open-source and leaves your data on your p
|
||||
|
||||
## Development setup
|
||||
|
||||
1. Start a virtual device in Android Studio (or make sure it's already running, you should see a phone on your screen)
|
||||
1.
|
||||
|
||||
a) Start a virtual device in Android Studio (or make sure it's already running, you should see a phone on your screen)
|
||||
b) Set your physical device like your phone up to run the app.
|
||||
|
||||
2. Clone this repository:
|
||||
|
||||
@@ -14,11 +17,14 @@ A menstrual cycle tracking app that's open-source and leaves your data on your p
|
||||
```
|
||||
|
||||
4. Run `npm install`
|
||||
5. Run `npm start`
|
||||
6. In another terminal tab or window, run `npm run android`
|
||||
7. In yet another tab, run `npm run log` to see logging output
|
||||
5. Run `npm run android`
|
||||
7. In another tab, run `npm run log` to see logging output
|
||||
8. Run `adb shell input keyevent 82` and select enable hot reloading (see https://facebook.github.io/react-native/docs/debugging.html)
|
||||
9. We recommend installing an [ESLint plugin in your editor](https://eslint.org/docs/user-guide/integrations#editors). There's an `.eslintrc` file in this project which will be used by the plugin to check your code for style errors and potential bugs.
|
||||
|
||||
## Tests
|
||||
You can run the tests with `npm test`.
|
||||
You can run the tests with `npm test`.
|
||||
|
||||
## Debugging
|
||||
When running into an old version of the app try to run the following command first:
|
||||
`react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res`
|
||||
|
||||
Reference in New Issue
Block a user