joplin-notes/joplin notion extension/Web Development/Extras/jekyll/jekyll installation.md
2026-11-04 00:33:23 +05:30

958 B

jekyll installation https://jekyllrb.com/docs/step-by-step/01-setup/

  1. After ruby is installed,install jekyll and bundler using gem command gem install jekyll bundler
  2. Set the environment path of bundler and other plugins in environment path. Path to be added is /home/hpes/.local/share/gem/ruby/3.3.0/bin
  3. Edit the Gemfile in a text editor and add jekyll as a dependency: gem "jekyll"
  4. Now change the config path of bundle as it will use system environment ruby which wont be accessibe bundle config path <path> here <path> can be /Documents/ruby or any path owned by current user
  5. run bundle : to install gem modules  

demo

  1. Create a folder say site and cd into it
  2. run jekyll serve to go to dev mode (to see live changes) and jekyll build to create optimised build also use this to refresh the browser too jekyll serve --livereload and other flags for different host and port are --host and --port