From 35e8f03c99ba35080084939aa8229820a920dc12 Mon Sep 17 00:00:00 2001 From: Brian Munkholm Date: Mon, 7 May 2018 12:01:43 +0200 Subject: [PATCH] Small readme updates --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index af98d038..e6f93df5 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ The API reference is located at [realm.io/docs/javscript/latest/api/](https://re In case you don't want to use the precompiled version on npm, you can build Realm yourself from source. You’ll need an Internet connection the first time you build in order to download the core library. Prerequisites: -- Node: 4.0 <= version < 7.0 +- Node: 4.0 <= version < 7.0 and python2.7 (3.x won't work) - Xcode 7.2+ - Android SDK 23+ - Android NDK 10e @@ -52,17 +52,17 @@ git submodule update --init --recursive ```Note: If you have cloned the repo previously make sure you remove your node_modules directory since it may contain stale dependencies which may cause the build to fail.``` -To build for iOS: +### Building for iOS: - Open `react-native/ios/RealmReact.xcodeproj` - Select `RealmReact.framework` as the build target - Build -To build for Android: +### Building for Android: - `cd react-native/android` - `./gradlew publishAndroid` - The compiled version of the Android module is here: `/android` -To build for nodejs: +### Building for nodejs: ``` npm install --build-from-source=realm @@ -70,7 +70,7 @@ npm install --build-from-source=realm - On Windows you will need to setup the environment for node-gyp - - Option 1: Install windows-build-tools node package + * Option 1: Install windows-build-tools node package - Open an elevated command prompt (As Administrator)