- Download bunlde and jekyll from ruby (rbenv)
- Create new repo by
Use this template
from "https://github.com/alshedivat/al-folio"- name the repo with [name].github.io
- Clone the repo ex:
git clone git@github.com:/HojeChun/hojechun.github.io
- Change _config.yml
url: https://hojechun.github.io # the base hostname & protocol for your site
baseurl: # the subpath of your site, e.g. /blog/
repository: HojeChun/hojechun.github.io
- Change Gemfile
Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8
source 'https://rubygems.org'
group :jekyll_plugins do
gem 'listen'
gem 'jekyll'
gem 'jekyll-archives'
gem 'jekyll-diagrams'
gem 'jekyll-email-protect'
gem 'jekyll-feed'
gem 'jekyll-github-metadata'
gem 'jekyll-imagemagick'
gem 'jekyll-minifier'
gem 'jekyll-paginate-v2'
gem 'jekyll-scholar'
gem 'jekyll-sitemap'
gem 'jekyll-target-blank'
gem 'jekyll-link-attributes'
gem 'jekyll-twitter-plugin'
gem 'jemoji'
gem 'mini_racer'
gem 'unicode_utils'
gem 'webrick'
gem 'htmlcompressor'
gem 'htmlbeautifier'
end
group :other_plugins do
gem 'httparty'
gem 'feedjira'
end
chmod a+x bin/*
bundle install
bin/deploy ## Deploy the webpage
this will make the branch gh-pages
6) go to Settings --> Action --> Workflow permissions to Read and write persmisions 7) go to pages --> Branch gh-pages
- in local server
bundle exec jekyll serve --host hansgpu.com