start apple docu authored by Doris Tam's avatar Doris Tam
...@@ -15,10 +15,11 @@ ...@@ -15,10 +15,11 @@
- [Make a copy of the project](#make-a-copy-of-the-project) - [Make a copy of the project](#make-a-copy-of-the-project)
- [Forking the GitHub repository (community contributors)](#forking-the-github-repository-community-contributors) - [Forking the GitHub repository (community contributors)](#forking-the-github-repository-community-contributors)
- [Clone project into your local directory (maintainers)](#clone-project-into-your-local-directory-maintainers) - [Clone project into your local directory (maintainers)](#clone-project-into-your-local-directory-maintainers)
- [Install and start the app](#install-and-start-the-app) - [Install and start the app (Android)](#install-and-start-the-app-android)
- [Run the app on a device/emulator](#run-the-app-on-a-deviceemulator) - [Run the app on a device/emulator](#run-the-app-on-a-deviceemulator)
- [Virtual device testing - on Emulator with Android studio](#virtual-device-testing---on-emulator-with-android-studio) - [Virtual device testing - on Emulator with Android studio](#virtual-device-testing---on-emulator-with-android-studio)
- [Physical device testing](#physical-device-testing) - [Physical device testing](#physical-device-testing)
- [Install and start the app (iOS)](#install-and-start-the-app-ios)
- [React native](#react-native) - [React native](#react-native)
- [Contributing](#contributing) - [Contributing](#contributing)
- [Troubleshooting](#troubleshooting) - [Troubleshooting](#troubleshooting)
...@@ -174,7 +175,7 @@ Make a [fork](https://docs.github.com/en/github/getting-started-with-github/fork ...@@ -174,7 +175,7 @@ Make a [fork](https://docs.github.com/en/github/getting-started-with-github/fork
3. If you execute the command: `ls`, you should be able to see there is a `mahara-mobile-react-native` folder there. 3. If you execute the command: `ls`, you should be able to see there is a `mahara-mobile-react-native` folder there.
## Install and start the app ## Install and start the app (Android)
1. To enter the project folder execute the next command: 1. To enter the project folder execute the next command:
...@@ -258,6 +259,11 @@ Make a [fork](https://docs.github.com/en/github/getting-started-with-github/fork ...@@ -258,6 +259,11 @@ Make a [fork](https://docs.github.com/en/github/getting-started-with-github/fork
npm run android -d 01234SDGESG567890 npm run android -d 01234SDGESG567890
``` ```
## Install and start the app (iOS)
In an macOS machine, open the .workspace file in XCode. Run npm install and pod install.
Select a virtual machine and build.
## React native ## React native
Follow official docs: <https://facebook.github.io/react-native/docs/getting-started.html>. Follow official docs: <https://facebook.github.io/react-native/docs/getting-started.html>.
... ...
......