My personal blog sorokin.engineer
You do not need local Jekyll installation if you just change file and put it on github.
But it always usefull to check it locally before publishing.
In that case you have to install Jekyll and plugins for github pages (the plugins are listed in Gemfile
).
Add /home/<your user name>/.rbenv/bin:
into PATH
(~/.bashrc
). and add eval "$(rbenv init -)"
after this line in ~/.bashrc
.
sudo apt-get install ruby-dev build-essential libssl-dev libreadline-dev zlib1g-dev
rbenv install 2.5.7
rbenv global 2.5.7
sudo gem install bundler
# cd to sorokin.engineer folder
bundle
Use the Dockerfile in Docker or Visual Studio Code integration (.devcontainer/).
Run the docker container or run in VS Code terminal the command below:
jekyll serve
And after that:
bundler
brew install rbenv
rbenv install 3.2.2
rbenv global 3.2.2
echo 'eval "$(rbenv init - zsh)' >> ~/.zshrc
gem install --user-install bundler jekyll
bundler install
Add "/Users/ksfj595/.gem/ruby/3.2.0/bin" to PATH (in .zshrc).
jekyll serve