Update README.md
This commit is contained in:
@@ -16,39 +16,41 @@ Here --> you will find our [contributing guide](https://gitlab.com/bloodyhealth/
|
||||
|
||||
## Development setup
|
||||
|
||||
1. Install [Android Studio](https://developer.android.com/studio/) - you'll need it to install some dependencies.
|
||||
#### 1. Android Studio
|
||||
|
||||
Install [Android Studio](https://developer.android.com/studio/) - you'll need it to install some dependencies.
|
||||
|
||||
#### 2. Node version
|
||||
|
||||
Make sure you are running Node 10 (newer versions won’t work). It's easiest to switch Node versions using `nvm`, here’s how to do it:
|
||||
|
||||
1. Make sure you are running Node 10 (newer versions won’t work). It's easiest to switch Node versions using `nvm`, here’s how to do it:
|
||||
|
||||
```
|
||||
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
|
||||
$ nvm install v10
|
||||
```
|
||||
|
||||
1. Clone this repository:
|
||||
|
||||
with SSH
|
||||
#### 3. Get this repository
|
||||
|
||||
Clone it with SSH
|
||||
|
||||
```
|
||||
$ git clone git@gitlab.com:bloodyhealth/drip.git
|
||||
```
|
||||
|
||||
or with HTTPS
|
||||
or clone it with HTTPS
|
||||
|
||||
```
|
||||
$ git clone https://gitlab.com/bloodyhealth/drip.git
|
||||
```
|
||||
|
||||
and run
|
||||
|
||||
```
|
||||
$ cd drip
|
||||
$ npm install
|
||||
```
|
||||
|
||||
1. Open Android Studio and click on "Open an existing Android Studio project". Navigate to the drip repository you cloned and double click the android folder. It detects, downloads and cofigures requirements that might be missing, like the NDK and CMake to build the native code part of the project. Also see the [nodejs-mobile repository](https://github.com/janeasystems/nodejs-mobile) for the necessary prerequisites for your system.
|
||||
#### 4. More requirements from Android Studio
|
||||
|
||||
1. Either start a [virtual device in Android Studio](https://developer.android.com/studio/run/emulator) or [set your physical device like your Android phone up](https://developer.android.com/training/basics/firstapp/running-app) to run the app.
|
||||
Open Android Studio and click on "Open an existing Android Studio project". Navigate to the drip repository you cloned and double click the android folder. It detects, downloads and cofigures requirements that might be missing, like the NDK and CMake to build the native code part of the project. Also see the [nodejs-mobile repository](https://github.com/janeasystems/nodejs-mobile) for the necessary prerequisites for your system.
|
||||
|
||||
#### 5. Run the app
|
||||
|
||||
Either start a [virtual device in Android Studio](https://developer.android.com/studio/run/emulator) or [set your physical device like your Android phone up](https://developer.android.com/training/basics/firstapp/running-app) to run the app.
|
||||
|
||||
1. Open a terminal and run
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user