Skip to content

Instantly share code, notes, and snippets.

@HojeChun
Last active March 29, 2023 08:49
Show Gist options
  • Save HojeChun/883840e5e713a028ca466290206a94df to your computer and use it in GitHub Desktop.
Save HojeChun/883840e5e713a028ca466290206a94df to your computer and use it in GitHub Desktop.
Al Folio initial settings
  1. Download bunlde and jekyll from ruby (rbenv)
  2. Create new repo by Use this template from "https://github.com/alshedivat/al-folio"
    • name the repo with [name].github.io
  3. Clone the repo ex: git clone git@github.com:/HojeChun/hojechun.github.io
  4. 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
  1. 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment