Update README.md

This commit is contained in:
Ari Lazier 2015-08-24 09:26:51 -07:00
parent ccd2301d9e
commit 5ccd232b68
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,9 @@
RealmJS contains Realm bindings for integrating with mobile apps built using javascript frameworks such as ReactNative and PhoneGap. RealmJS contains Realm bindings for integrating with mobile apps built using javascript frameworks such as ReactNative and PhoneGap.
## ReactNative Example ## ReactNative Example
There is a ReactNative sample project in `examples/ReactExample`. You must run `npm install` in this directory before running the example for the first time. Make sure your environment is set up to run react native applications. Follow the instructions here https://facebook.github.io/react-native/docs/getting-started.html to the point you have installed the react-native-cli.
The ReactNative sample project is in the `examples/ReactExample` directory. You must run `npm install` in this directory before running the example for the first time.
## ReactNative Project Setup ## ReactNative Project Setup
- Create a new ReactNative project `react-native init <project-name>` and open the generated XCode project. - Create a new ReactNative project `react-native init <project-name>` and open the generated XCode project.