mirror of
https://github.com/status-im/react-native.git
synced 2025-01-26 09:19:10 +00:00
33cd930d50
Summary: The showcase is not versioned. We need to link to `/react-native/showcase.html` to ensure the unversioned showcase is loaded instead of something like `react-native/releases/0.34/showcase.html` which does not exist. Closes https://github.com/facebook/react-native/pull/10324 Differential Revision: D3995139 Pulled By: bestander fbshipit-source-id: b361394e0f4edd182006b306a33f7417e69ce9af
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