Skip to content
Snippets Groups Projects
Commit ba817951 authored by Julia Friesel's avatar Julia Friesel
Browse files

Merge branch 'patch-1' into 'master'

Add macOS hints

See merge request bloodyhealth/drip!117
parents f3d53ef8 f622f33e
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,19 @@ A menstrual cycle tracking app that's open-source and leaves your data on your p
1. 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.
## Java problems on macOS
Make sure that you have Java 1.8 by running `java -version`.
If you don't have Java installed, or your Java version is different, the app may not work. You can try just using Android Studio's Java by prepending it to your `$PATH` in your shell profile:
```
export PATH="/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin:${PATH}"
```
Now, `which java` should output `/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java`, and the correct Java version should be used.
## Tests
You can run the tests with `npm test`.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment