react-native/website
Joel Marcey 0c4147ac6a Create Existing App Integration Tutorial
Summary:
We currently have iOS and Android existing app integration guides. I have revamped these into a single tutorial, with three sections: Objective-C, Swift and Android.

For Objective-C and and Swift, the tutorial is now based on a more real world app - integrating a React Native-based high score screen into a 2048 app.

For expediency to get the iOS stuff out, for Android, *for now*, I have kept the existing documentation (with minor updates), but am planning to try to follow the same 2048 model for it as well.

This uses the same toggler as Getting Started

> I do note the copypasta of the toggler code. I am planning another separate pull request to make that more modular and reusable across all areas of the documentation on which it seems reasonable.

<img width="1277" alt="screenshot 2016-05-25 15 34 27" src="https://cloud.githubusercontent.com/assets/3757713/15558448/13c0aa1a-228f-11e6-9f38-5117d5824b84.png">
<img width="1260" alt="screenshot 2016-05-25 15 40 50" src="https://cloud.githubusercont
Closes https://github.com/facebook/react-native/pull/7764

Differential Revision: D3444455

Pulled By: JoelMarcey

fbshipit-source-id: 73dcdadd912177bb83b29099ff857046bf495939
2016-06-16 08:28:33 -07:00
..
core Improve Docs navigation on handheld devices. 2016-05-20 02:50:08 -07:00
jsdocs [autodocs] add doc blocks to more things 2015-09-03 11:53:20 -07:00
layout Add link to the survey at the bottom of the page 2016-05-12 14:43:22 -07:00
server Updated Linking and PushNotificationIOS modules to use NativeEventEmitter 2016-05-27 10:28:23 -07:00
src/react-native Create Existing App Integration Tutorial 2016-06-16 08:28:33 -07:00
.gitignore Introduce blog 2016-03-24 14:11:30 -07:00
README.md Fix instructions so react-native packages are installed first 2016-06-01 17:58:22 -07:00
package.json Display component methods on the website and tweak the documentation 2016-04-09 11:13:28 -07:00
publish-gh-pages.js fixed website deployment condition logic 2016-04-19 06:43:23 -07:00
setup.sh Docs for website setup 2015-12-28 12:47:09 -08:00

README.md

Install prerequisites

Before running the website, make sure you've run the following:

git clone https://github.com/facebook/react-native.git
cd react-native
npm install

Run the website server

The first time, get all the website dependencies loaded via

cd website
npm install

Then, run the server via

npm start
open http://localhost:8079/react-native/index.html

Anytime you change the contents, just refresh the page and it's going to be updated.

Publish the website

cd website
npm run publish-website