| ... | @@ -2,14 +2,18 @@ |
... | @@ -2,14 +2,18 @@ |
|
|
|
|
|
|
|
[Mobile Repository](https://gitlab.labranet.jamk.fi/wimma-lab-2019/overflow/ehasa-mobile)
|
|
[Mobile Repository](https://gitlab.labranet.jamk.fi/wimma-lab-2019/overflow/ehasa-mobile)
|
|
|
|
|
|
|
|
|
### 1. Initial installation
|
|
|
|
|
|
|
You need node installed as specified in [1.2 Node.js - installation](./node)
|
|
You need node installed as specified in [1.2 Node.js - installation](./node)
|
|
|
|
|
|
|
|
First, install npm module react-native-cli:
|
|
First, install npm module react-native-cli:
|
|
|
|
|
|
|
|
```bash
|
|
```bash
|
|
|
npm install -g react-native-cli
|
|
sudo npm install -g react-native-cli
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
|
### 2. Android Studio installation
|
|
|
|
|
|
|
Second step is to get Android Studio to run.
|
|
Second step is to get Android Studio to run.
|
|
|
|
|
|
|
|
```bash
|
|
```bash
|
| ... | @@ -47,6 +51,8 @@ sudo adduser $USER kvm |
... | @@ -47,6 +51,8 @@ sudo adduser $USER kvm |
|
|
|
|
|
|
|
Relogin to load the changes.
|
|
Relogin to load the changes.
|
|
|
|
|
|
|
|
|
### React Native configuration
|
|
|
|
|
|
|
The React Native tools require some environment variables to be set up in order to build apps with native code.
|
|
The React Native tools require some environment variables to be set up in order to build apps with native code.
|
|
|
|
|
|
|
|
```bash
|
|
```bash
|
| ... | |
... | |
| ... | | ... | |