Update README.md

This commit is contained in:
Martin Konicek 2015-09-15 20:58:06 +01:00
parent 8a56eab5fb
commit f2f7da6ccd
1 changed files with 13 additions and 0 deletions

View File

@ -48,8 +48,21 @@ The React Native documentation only discusses the components, APIs and topics sp
- `git clone https://github.com/facebook/react-native.git`
- `cd react-native && npm install`
### Running the examples on iOS
Now open any example (the `.xcodeproj` file in each of the `Examples` subdirectories) and hit Run in Xcode.
### Running the examples on Android
Note that you'll need the Android NDK installed, see [prerequisites](https://github.com/facebook/react-native/blob/master/ReactAndroid/README.md#prerequisites).
```bash
./gradlew :Examples:Movies:android:app:installDebug
# Start the packager in a separate shell (make sure you ran npm install):
./packager/packager.sh
# Open the Movies app in your emulator
```
## Extending React Native
- Looking for a component? [react.parts](http://react.parts/)