mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 09:35:48 +00:00
11707d5ce2
Summary: Addresses an issue introduced in 6a8200df95d3c5a732fc1f9f104f83556645954f. While that commit successfully avoids extracting the docs while developing locally, it neglected to handle the case when the site was being built for deployment. As a result this broke CI. Options are now optional as they should be, and the site generation script will ensure docs are built during deployment. Closes https://github.com/facebook/react-native/pull/12267 Differential Revision: D4523906 Pulled By: lacker fbshipit-source-id: ee00d5653eb98b16b94734299bb15ba5473a0f61
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