mirror of
https://github.com/status-im/react-native.git
synced 2025-02-27 00:20:31 +00:00
Summary: When generating the html after running `npm start`, we convert the `.md` files. As part of this, we use the location of the favicon. The location has been wrong for a while. This fixes it to point to the current, correct location. <img width="1256" alt="screenshot 2016-07-12 10 44 16" src="https://cloud.githubusercontent.com/assets/3757713/16771259/d2195bac-481d-11e6-9ee8-b537b4593c7d.png"> Closes https://github.com/facebook/react-native/pull/8718 Differential Revision: D3551002 fbshipit-source-id: 13c8292a76d3fddcd0a14d2b6cdb8a7cee70b606
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