mirror of
https://github.com/status-im/react-native.git
synced 2025-02-26 16:10:58 +00:00
Summary: unpkg (nee npmcdn) will [no longer serve HTML content with the text/html Content-Type](https://twitter.com/mjackson/status/779147399528718336). We need to switch to another provider to continue supporting the RN Web Player. Closes https://github.com/facebook/react-native/pull/10072 Differential Revision: D3914585 Pulled By: lacker fbshipit-source-id: 69833c157775f2b255f1cd11c5b52140d12a27be
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