# clone your repo then open terminal in its folder
# install npm packages
npm install
# start local dev server
npm start
This will run browser sync server on http://localhost:3000
. (Browser sync will automatically set it to a different port if you have something running on it. Check what gets output in terminal for the exact URL.)
npm run deploy
- This will compile jekyll, process and minify CSS and JS, and compress images
- It will commit the contents of the
_site
directory to thesite
branch and push it to GitHub - IT has automated scripts to deploy the contents of the
site
branch on change. Your changes should now be live at its assigned domain.