Develop GitHub Pages Site Locally by Jekyll: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
(Created page with "<syntaxhighlight lang="bash"> # vim ~/.bash_profile export JEKYLL_GITHUB_TOKEN="2c12dd772d090a8f5b7015deff776810a347901b" export PAGES_REPO_NWO=chorkeinc/chorkeinc.github.io <...")
 
 
(5 intermediate revisions by the same user not shown)
Line 6: Line 6:


<syntaxhighlight lang="cfg">
<syntaxhighlight lang="cfg">
# vim _config.yml
# vim ./_config.yml
theme: jekyll-theme-cayman
theme: jekyll-theme-cayman
repository: chorkeinc/chorkeinc.github.io
repository: chorkeinc/chorkeinc.github.io
</syntaxhighlight>
<syntaxhighlight lang="cfg">
# vim ./Gemfile
source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins
</syntaxhighlight>
<syntaxhighlight lang="bash">
# 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
</syntaxhighlight>
</syntaxhighlight>


==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://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://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]
* [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