Jekyll
Install Ruby
- dnf install ruby
- select ruby module version
dnf module list ruby # check available version of ruby dnf module reset ruby dnf module enable ruby:3.1 dnf moudle install ruby:3.1/common
- install jekyll and bundle
TIP : what is the bundle ?
Gem : install module without considering dependency. And Bundle : install modules with cosindering dependency
Test Jekyll locally
- init jekyll
jekyll new ./
- install modules - with dependency via bundle
bundle install
- run localhost
bundle exec jekyll serve
- Check dependency to respond error “Module not imported”
- If there is error, search install command like
gem rack -> gem 'rack', '~> 1.6', '>= 1.6.4'
- and add it to Gemfile
- If there is error, search install command like
Apply theme
- Download and Copy all thing that in repository
- edit _config.py
- check dependency and do bundle install
TIP : If the theme is from remote_theme,
First, do fork to your repositorydependency. Then Second, must edit url and if needed, edit baseurl. And Last, edit remote_theme : {username}/{repository}
Add post
- create markdown file with titled YYYY-MM-DD-posting_title.md
- bundle exec jekyll serve : check in local
- push to git : deploy posting
Appendix
- Jekyll Blog from A to Z
- Ruby recent version Install
- Jekyll Admin
- need some module more : sinatra / rack / rack-handlers
- Issue for remote_theme
- remote_theme Issue : Url and BaseUrl