mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 09:35:48 +00:00
d14eb2e38d
Summary: Each RC created ends with `rc.0` so the link on the website is broken. This PR fix this. https://facebook.github.io/react-native/versions.html But maybe it's the RC tag that is wrong and should be fixed instead of the website link. Closes https://github.com/facebook/react-native/pull/9857 Differential Revision: D3852046 fbshipit-source-id: 122feaf81396c492c558eefe657915127eee7ffe
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