Personal portfolio website that is deployed on Github page.
To install dependencies
npm install
To start this project run
npm start
To deploy this project to GitHub Page
1. add gh-pages dependency
$ npm install gh-pages --save-dev
2. In the package.json file, scroll down to the scripts property and add the following commands:
"predeploy" : "npm run build",
"deploy" : "gh-pages -d build",
3. Add a homepage property to package.json
"homepage": "https://kriswen.github.io/personal-portfolio/",
4. Push to github repository
$ npm run deploy -- -m "Deploy React app to GitHub Pages"
5. Configure GitHub Pages
Setting -> Pages
Source: Deploy from a branch
Branch: gh-pages
Folder: / (root)
Reference: https://github.com/gitname/react-gh-pages/blob/master/README.md