To run the app follow the steps:
-
Clone the code from https://bitbucket.org/159333project/reactmaster
-
Install android sdk.
-
Go to /reactmaster/android/local.propertiey and set your android sdk path.
-
Make sure your adb was added in your path. To do that for MacOs run "export PATH=$PATH:/Users/UserName/Library/Android/sdk/platform-tools/" in terminal.
-
Before you run the app, make sure your IOS/android emulator is running.
-
Go to the project directory: cd reactmaster.
-
Run the npm packager server: npm start.
Run android: react-native run-android
Run IOS: react-native run-ios