Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/angular/react-native-renderer

Use Angular and React Native to build applications for Android and iOS
https://github.com/angular/react-native-renderer

Last synced: about 1 month ago
JSON representation

Use Angular and React Native to build applications for Android and iOS

Awesome Lists containing this project

README

        

[![Join the chat at https://gitter.im/angular/react-native-renderer](https://badges.gitter.im/angular/react-native-renderer.svg)](https://gitter.im/angular/react-native-renderer?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Build Status](https://travis-ci.org/angular/react-native-renderer.svg?branch=master)](https://travis-ci.org/angular/react-native-renderer)

# angular-react-native

Use Angular and React Native to build applications for Android and iOS.

## Documentation
http://angular.github.io/react-native-renderer/

## Development

### Preparing your environment
* Set up React Native for iOS and/or Android following [Getting started](https://facebook.github.io/react-native/docs/getting-started.html) and [Android setup](https://facebook.github.io/react-native/docs/android-setup.htmlt)
* Clone this repository or a fork of it
* Install Gulp and React Native CLI globally: `npm install -g gulp react-native-cli`
* Install local npm modules: `npm install`

### Running scripts

Creating the sample project:
* `gulp init` to create the react-native project

Android:
* `gulp start.android` to launch the sample on the connected device or emulator, and watch sources for auto update (if enabled in F2/shake dev menu)
* `gulp start.android.aot` to launch the some with AoT compilation

iOS:
* `gulp start.ios` to launch the sample on an emulator, and watch sources for auto update (it will fail the first due to initial compilation, simply restart it)
* `gulp start.ios.aot` to launch the some with AoT compilation

Tests:
* `gulp test.browser` to run tests in Chrome

Doc:
`gulp doc` to generate the documentation in `./dist/doc`