Develop GitHub Pages Site Locally by Jekyll: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
Line 36: Line 36:
* [https://stackoverflow.com/questions/43246008 How to integrate bootstrap into jekyll]
* [https://stackoverflow.com/questions/43246008 How to integrate bootstrap into jekyll]
* [https://medium.com/@RiggerTheGeek/running-angularjs-on-jekyll-5f81ed5b6c3f Running AngularJS on Jekyll]
* [https://medium.com/@RiggerTheGeek/running-angularjs-on-jekyll-5f81ed5b6c3f Running AngularJS on Jekyll]
* [https://help.github.com/articles/configuring-jekyll-plugins/ Configuring Jekyll Plugins]
* [https://github.com/oehf/ipf/blob/gh-pages-jekyll/Gemfile Jekyll Gemfile Example]

Revision as of 10:17, 15 September 2018

# vim ~/.bash_profile
export JEKYLL_GITHUB_TOKEN="2c12dd772d090a8f5b7015deff776810a347901b"
export PAGES_REPO_NWO=chorkeinc/chorkeinc.github.io
# vim./ _config.yml
theme: jekyll-theme-cayman
repository: chorkeinc/chorkeinc.github.io
# vim ./Gemfile
source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins
# only for window x os using gitbash
export PATH=$PATH:/c/opt/mssys/msys64

gem install bundle
jekyll new chorkeinc.github.io
bundle install --gemfile=Gemfile
bundle exec jekyll serve
jekyll serve

References