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 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

Run local development server

bundle exec jekyll serve --drafts

Deploy to github master branch

bin/deploy


References

rahulja.in
xRahul.github.io - 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

×