react-native/website
Bhuwan Khattar d82f2553fb Replace @provides with @providesModule
Reviewed By: davidaurelio

Differential Revision: D4494624

fbshipit-source-id: 192cc77126a99b3a3baeb806ed605c2194c4713a
2017-02-02 08:58:33 -08:00
..
core fix `for` being used instead of `htmlFor` 2016-11-25 19:13:29 -08:00
jsdocs Replace @provides with @providesModule 2017-02-02 08:58:33 -08:00
layout RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00
server Move docs list to separate module 2017-01-03 19:58:33 -08:00
src/react-native Add Causr app to showcase 2017-01-30 10:14:30 -08:00
.gitignore
README.md
package.json Re-style Blog, Add Newsletter Signup Form 2016-11-02 05:43:43 -07:00
publish-gh-pages.js
setup.sh

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