Install ruby 2.6.5
rbenv install 2.6.5
rbenv global 2.6.5
ruby -v
Install site
git clone https://github.com/xRahul/xRahul.github.io.git
git config --global credential.helper cache
git config --global credential.helper 'cache --timeout=36000'
cd xRahul.github.io/
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all
bin/setup
--or--
npm run setup
Run local development server
LC_ALL=en_US.UTF-8 bundle exec jekyll serve --drafts
--or--
npm run local
Deploy to github master branch
bin/deploy
--or--
npm run publish