mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-05-26 23:30:49 +08:00
wrote QueryUpdate and ApplyUpdate tests
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
hybrid-mobile-deploy-react-native
|
||||
code-push-react-native
|
||||
===
|
||||
|
||||
React Native module for deploying script updates
|
||||
@@ -7,10 +7,10 @@ Running the Example
|
||||
---
|
||||
|
||||
* Make sure you have https://github.com/Microsoft/hybrid-mobile-deploy cloned beside the react-native project in a folder called `website`. This is hacky, and will be cleaned up as soon as React Native's packager supports symlinks.
|
||||
* Start the Hybrid Mobile Deploy server with `gulp serve`, after installing the prerequisites described in the [project readme](https://github.com/Microsoft/hybrid-mobile-deploy/blob/master/README.md)
|
||||
* Start the CodePush server with `gulp serve`, after installing the prerequisites described in the [project readme](https://github.com/Microsoft/hybrid-mobile-deploy/blob/master/README.md)
|
||||
* From the root of this project, run `npm install`
|
||||
* `cd` into `Examples/HybridMobileDeployCompanion`
|
||||
* `cd` into `Examples/CodePushDemoApp`
|
||||
* Open `index.ios.js` and add a deployment key (generate one using the UI at http://localhost:4000/)
|
||||
* Run `npm start` to launch the packager
|
||||
* Open `HybridMobileDeployCompanion.xcodeproj` in Xcode
|
||||
* Open `CodePushDemoApp.xcodeproj` in Xcode
|
||||
* Launch the project
|
||||
|
||||
Reference in New Issue
Block a user