mirror of
https://github.com/status-im/react-native.git
synced 2025-01-28 02:04:55 +00:00
05b8944382
Summary:I suppose over time we should simplify the script. But for now this will do. Logic: 1. don't copy "blog" folder to /releases/XX when doing a docs release 2. don't copy "blog" folder to / when doing stable docs release 3. copy "blog" folder to / only when doing building docs for master branch CC vjeux Closes https://github.com/facebook/react-native/pull/6634 Differential Revision: D3094267 Pulled By: vjeux fb-gh-sync-id: 1f972703ed371c114e34d9f524092ea1d2fd985b shipit-source-id: 1f972703ed371c114e34d9f524092ea1d2fd985b
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