mirror of
https://github.com/status-im/react-native.git
synced 2025-02-10 00:23:26 +00:00
Summary: I updated the showcase instructions during the docdown but after getting some more requests I think these should be more specific. Two things in particular. It isn't very useful to link to some generic page on the company's own website, especially if the company has zero news coverage. Secondly, this content should be in English because that's what most readers know. So I just updated the instructions to say this. Closes https://github.com/facebook/react-native/pull/8788 Differential Revision: D3564132 Pulled By: JoelMarcey fbshipit-source-id: d75adda0d2161e795436d0075b814a40c69383a3
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