Skip to content

About

https://sorokin.engineer site

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

383 Commits

Folders and files

Repository files navigation

My personal blog sorokin.engineer

You do not need local Jekyll installation if you just change files and push to GitHub.

But it's always useful 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).

Linux (Ubuntu)

Install rbenv

Add /home/<your user name>/.rbenv/bin: to 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

Windows

Use the Dockerfile with Docker or Visual Studio Code integration (.devcontainer/).

Run the Docker container or run in VS Code terminal the command below:

jekyll serve

MacOS

Install Jekyll

And after that:

bundle

Reinstall after MacOS update

    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

    bundle install

Add /Users/<username>/.gem/ruby/3.2.0/bin to PATH (in .zshrc).

Run

jekyll serve

Analytics

About

https://sorokin.engineer site

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages