jekyll.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
3.0.3 | |
#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