mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 09:35:48 +00:00
999ebb154d
Summary: Addresses #9865. We want the showcase and support pages to be loaded from root regardless of which React Native version is selected. Closes https://github.com/facebook/react-native/pull/10004 Differential Revision: D3896505 Pulled By: bestander fbshipit-source-id: 0db64f72bca8bc68d6d489fa3ed34c0a6f671002
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