mirror of
https://github.com/status-im/react-native.git
synced 2025-02-27 16:40:38 +00:00
Summary: This fixes an issue where Walmart's icon is not showing up in production. I added the icon to the RN website, but this goes against convention which is to use an externally hosted image for the showcase. This PR uses the App Store icon for the app. Before: <img width="1069" alt="unknown" src="https://cloud.githubusercontent.com/assets/165856/21729495/3bb95990-d400-11e6-98b9-9ffd86a1b3b6.png"> After:  Closes https://github.com/facebook/react-native/pull/11754 Differential Revision: D4387761 Pulled By: ericvicenti fbshipit-source-id: 1be4903c1f05be2cfd8403f8746c1917669d196f
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