-
Follow instructions for installing dependencies for React Native on your OS https://facebook.github.io/react-native/docs/getting-started#installing-dependencies-3
-
Clone the repo using git with the "Clone or Download" green link above. If you don't have git install, follow those instructions: https://fr.atlassian.com/git/tutorials/install-git
-
Install project dependencies
- Navigate to the project folder in your terminal (Optidoc)
- Run
npm install
-
Run project in a simulator or your own device
- Rename the file ".env.sample" into ".env" and update the value for the db and ftp server
- You need to have a device ready. For that follow those instructions: https://facebook.github.io/react-native/docs/getting-started#preparing-the-android-device
- In your terminal, navigate to the project folder in your terminal (Optidoc). You will need 2 terminal windows.
- Run
npm start - Run in the second window (also opened in the project folder)
react-native run-android
To publish on the Play Store, follow these instructions: https://facebook.github.io/react-native/docs/signed-apk-android