847220957a
Summary: <img width="938" alt="screen shot 2016-01-20 at 10 38 23 pm" src="https://cloud.githubusercontent.com/assets/197597/12473376/8f0ac970-bfc6-11e5-9e44-0481e9f250f1.png"> Closes https://github.com/facebook/react-native/pull/5454 Reviewed By: svcscm Differential Revision: D2849235 Pulled By: vjeux fb-gh-sync-id: 0103f3d5249b1dfc03aa77feb9ae3bb7bbe9c746 |
||
---|---|---|
.. | ||
core | ||
jsdocs | ||
layout | ||
server | ||
src/react-native | ||
.gitignore | ||
README.md | ||
package.json | ||
publish-android.sh | ||
publish.sh | ||
setup.sh |
README.md
Run the website server
The first time, get all the dependencies loaded via
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
First setup your environment by having two folders, one react-native
and one react-native-gh-pages
. The publish script expects those exact names.
./setup.sh
Then, after you've done changes, just run the command and it'll automatically build the static version of the site and publish it to gh-pages.
./publish.sh