Skip to content

Instantly share code, notes, and snippets.

Last active August 14, 2020 07:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Check the ruby version
kiranchavala@Kirans-MacBook-Pro ~ % ruby -v
ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
gem version
kiranchavala@Kirans-MacBook-Pro ~ % gem -v
#Install jekyll
kiranchavala@Kirans-MacBook-Pro ~ % gem install jekyll bundler
#Create folder
kiranchavala@Kirans-MacBook-Pro website % jekyll new ga_blog
#start serving
kiranchavala@Kirans-MacBook-Pro ga_blog % bundle exec jekyll serve --trace
#Installing a theme
Edit the gemfile and _config.yml
gem "jekyll-theme-minimal"
In config.yml
theme: jekyll-theme-minimal
bundle update
bundle install
bundle exec jekyll serve --trace
change the layout to default in markdown pages
git init
git checkout -b gh-pages
git status
git add .
git commit -m "initial commit"
git push origin gh-pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment