Develop GitHub Pages Site Locally by Jekyll: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
 
Line 29: Line 29:


==References==
==References==
* [https://github.com/jekyll/github-metadata Jekyll Github Metadata]
* [https://experimentingwithcode.com/creating-a-jekyll-blog-with-bootstrap-4-and-sass-part-1/ Creating a Jekyll Blog with Bootstrap 4 and Sass]
* [https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/ Setting up GitHub Pages site locally with Jekyll]
* [https://github.com/jekyll/github-metadata/blob/master/docs/configuration.md Jekyll Github Metadata Configuration]
* [https://github.com/jekyll/github-metadata/blob/master/docs/configuration.md Jekyll Github Metadata Configuration]
* [https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/ Setting up GitHub Pages site locally with Jekyll]
* [https://experimentingwithcode.com/creating-a-jekyll-blog-with-bootstrap-4-and-sass-part-1/ Creating a Jekyll Blog with Bootstrap 4 and Sass]
* [https://stackoverflow.com/questions/43246008 How to integrate bootstrap into jekyll]
* [https://stackoverflow.com/questions/43246008 How to integrate bootstrap into jekyll]
* [https://github.com/riebeekn/jekyll-bootstrap-4-minimal-starter Jekyll Bootstrap - 4 Minimal Starter]
* [https://github.com/riebeekn/jekyll-bootstrap-4-minimal-starter Jekyll Bootstrap - 4 Minimal Starter]
Line 38: Line 37:
* [https://help.github.com/articles/configuring-jekyll-plugins/ Configuring Jekyll Plugins]
* [https://help.github.com/articles/configuring-jekyll-plugins/ Configuring Jekyll Plugins]
* [https://github.com/oehf/ipf/blob/gh-pages-jekyll/Gemfile Jekyll Gemfile Example]
* [https://github.com/oehf/ipf/blob/gh-pages-jekyll/Gemfile Jekyll Gemfile Example]
* [https://github.com/jekyll/github-metadata Jekyll Github Metadata]

Latest revision as of 19:30, 25 September 2021

# 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