Skip to content

Commit

Permalink
fixup README
Browse files Browse the repository at this point in the history
  • Loading branch information
sahrens committed Jan 26, 2015
1 parent d72d952 commit 6e04a3c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ Get up an running with our Movies sample app:
+ Start the JavaScript app server:

```
node ReactKit/js/server.js
node server.js
```
+ Open the `ReactKit.xcodeproj` project in Xcode.
+ Set the target to `Movies` and select an iOS simulator to run the app.
+ Set the target to `Movies` and select an iOS simulator to run the app.
+ Build and run the project with cmd+R.
You should see the Movies app running on your iOS simulator. Congratulations! You've just successfully run your first React for iOS app.
You should see the Movies app running on your iOS simulator. Congratulations! You've just successfully run your first React for iOS app.
Now try editing a JavaScript file and viewing your changes. Let's change the movie search placeholder text:
+ Open the `ReactKit/js/Apps/Movies/SearchScreen.js` file in your favorite JavaScript editor.
+ Open the `Examples/Movies/SearchScreen.js` file in your favorite JavaScript editor.
+ Look for the current search placeholder text and change it to "Search for an awesome movie...".
+ Use cmd+R in your iOS simulator to reload the app and see your change. If you don't immediately see your changes, try restarting your app within Xcode.
Expand All @@ -30,7 +30,7 @@ Feel free to browse the Movies sample files and customize various properties to
You can verify the server is working by loading the bundle in your browser:
http://localhost:8081/Apps/Movies/Movies.includeRequire.runModule.bundle
http://localhost:8081/Examples/Movies/MoviesBundle.includeRequire.runModule.bundle
## Updating
Expand Down
5 changes: 5 additions & 0 deletions node_modules/JSAppServer/src/JSTransformer/transformer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions server.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2004-present Facebook. All Rights Reserved.

/* eslint no-process-exit: 0 */

/**
* Copyright 2004-present Facebook. All Rights Reserved.
*
* Note: This is a fork of the fb-specific server.js
*/
'use strict';

var JSAppServer = require('JSAppServer');
Expand Down

0 comments on commit 6e04a3c

Please sign in to comment.