Develop GitHub Pages Site Locally by Jekyll: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
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>



Revision as of 10:10, 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