react-native/website
zimeng 228abd4ff5 Add 手机百度 to the showcase page
Summary: Closes https://github.com/facebook/react-native/pull/9845

Differential Revision: D3854942

Pulled By: lacker

fbshipit-source-id: 26f6f9b362324383b9a1b7ac93c5d4eacff98817
2016-09-12 20:43:35 -07:00
..
core New Post: Unraveling Navigation 2016-09-08 06:59:00 -07:00
jsdocs Improve autogen for reference docs including jsdoc support 2016-06-21 14:28:43 -07:00
layout Fix broken link in blog page links. 2016-09-05 14:28:45 -07:00
server add missing KeyboardAvoidingView documentation 2016-08-30 10:43:33 -07:00
src/react-native Add 手机百度 to the showcase page 2016-09-12 20:43:35 -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 Improve autogen for reference docs including jsdoc support 2016-06-21 14:28:43 -07:00
publish-gh-pages.js fixed website deployment condition logic 2016-04-19 06:43:23 -07:00
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