mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 09:45:04 +00:00
b2821c3345
Summary: Add footer to all pages in the website. Preview: ![screencapture-localhost-8079-react-native-docs-network-html-1474655915887](https://cloud.githubusercontent.com/assets/165856/18797357/76a92e48-8182-11e6-8db7-74f241a9fa2c.png) Closes https://github.com/facebook/react-native/pull/10075 Differential Revision: D3917827 Pulled By: lacker fbshipit-source-id: f8a38feed616c4a05c29c9efef31d40ce93b5fd5
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