958 B
958 B
jekyll installation https://jekyllrb.com/docs/step-by-step/01-setup/
- After ruby is installed,install jekyll and bundler using gem command
gem install jekyll bundler - 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 - Edit the Gemfile in a text editor and add jekyll as a dependency:
gem "jekyll" - 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/rubyor any path owned by current user - run
bundle: to install gem modules
demo
- Create a folder say
siteand cd into it - run
jekyll serveto go to dev mode (to see live changes) andjekyll buildto create optimised build also use this to refresh the browser toojekyll serve --livereloadand other flags for different host and port are--hostand--port