Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Configure this site locally for development

Install ruby 2.3.3

rbenv install 2.3.3
rbenv global 2.3.3
ruby -v

Install site

git clone
git config --global credential.helper cache
git config --global credential.helper 'cache --timeout=36000'
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all

Run local development server

bundle exec jekyll serve --drafts

Deploy to github master branch


References - Github
How to fetch all git branches - StackOverflow

This post first appeared on Rahul Jain, please read the originial post: here

Share the post

Configure this site locally for development


Subscribe to Rahul Jain

Get updates delivered right to your inbox!

Thank you for your subscription