fixed up links to contribute authored by Doris Tam's avatar Doris Tam
Already have Mahara mobile enviornment installed? [Start contributing!](#contributing!)
# Getting setup on Linux
Some of the information is duplicated from the [React native developer docs.](https://reactnative.dev/docs/getting-started)
> *Already have Mahara mobile environment installed? **[Contribute!](#contributing) ✨***
- [Getting setup on Linux](#getting-setup-on-linux)
- [Get logins](#get-logins)
- [Installing dependencies](#installing-dependencies)
- [Install Node 8.3 or newer](#install-node-83-or-newer)
- [Install React Native CLI](#install-react-native-cli)
- [Install Java Development Kit](#install-java-development-kit)
- [Android development environment (for a virtual device) - skip next if you are using a physical device](#android-development-environment-for-a-virtual-device---skip-next-if-you-are-using-a-physical-device)
- [Android development environment](#android-development-environment)
- [Clone project into your local directory](#clone-project-into-your-local-directory)
- [Install and start the app](#install-and-start-the-app)
- [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)
- [Physical device testing](#physical-device-testing)
- [React native](#react-native)
- [Contributing](#contributing)
- [Troubleshooting](#troubleshooting)
Some of the information is duplicated from the [React native developer docs.](https://reactnative.dev/docs/getting-started)
## Get logins
In order to test you will need an account on a Mahara instance. In order to generate an authentication token please see [this documentation](https://manual.mahara.org/en/19.10/account/apps.html?highlight=authentication%20token).
## Installing dependencies
......@@ -73,7 +79,9 @@ java -version
# OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
```
### Android development environment (for a virtual device) - [skip next](#clone-project-into-local-directory) if you are using a physical device
### Android development environment
>(for a virtual device) - [skip next](#clone-project-into-local-directory) if you are using a physical device
Setting up your development environment can be somewhat tedious if you're new to Android development. If you're already familiar with Android development, there are a few things you may need to configure. In either case, please make sure to follow the next few steps carefully.
......@@ -154,6 +162,7 @@ gedit $HOME/.bashrc
```
2. Follow through steps in [README](https://gitlab.wgtn.cat-it.co.nz/elearning/mahara-mobile-react-native/blob/master/README.md)
3. Alternatively, the same actions: to start the server running the app.
```bash
......@@ -226,16 +235,16 @@ gedit $HOME/.bashrc
npm run android -d 01234SDGESG567890
```
# React native
## React native
Follow official docs: <https://facebook.github.io/react-native/docs/getting-started.html>.
This is because the installation process changes a lot, and we can't keep these docs up to date.
# Contributing!
# Contributing
Now that we have gotten Mahara mobile installed and ready to run, let's start contributing!
[Here's how 💡](// TODO: create page)
[Let's contribute!!! 💡](https://gitlab.wgtn.cat-it.co.nz/elearning/mahara-mobile-react-native/-/wikis/Contributing-to-Mahara-mobile)
# Troubleshooting
......
......