mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-01 09:23:16 +08:00
Summary:Rookie mistake I made. **Test plan (required)** See that https://circleci.com/gh/facebook/react-native/5462 succeeds deploying the website correctly. Closes https://github.com/facebook/react-native/pull/7063 Differential Revision: D3196198 fb-gh-sync-id: 14fdc94fad0b1e5ff74cc90bb89d2bd1bf29bfa3 fbshipit-source-id: 14fdc94fad0b1e5ff74cc90bb89d2bd1bf29bfa3
Run the website server
The first time, get all the dependencies loaded via
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