- run
npm install reactandnpm install gh-pagesin the cloned repo.
- Clone the master with
git clone <url> - Make changes
git commit,git push
- run
npm run deployin the repos main directory - Done! The code should be updated to the gh-page branch and the changes should be reflected on the GitHub Page
- To test and debug without pushing to the
gh-pagesbranch (production build), runnpm startlocally within the GH repo and it will launch a react server within your own network hosted through your PC to test. - Note: Changes on this version will not affect production, to publish to the production build refer to the steps above.