README.markdown: update compliation instructions

[CI SKIP]
This commit is contained in:
Aminda Suomalainen 2024-07-07 08:36:34 +03:00
parent 635e769b06
commit 8098816f5f
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -57,12 +57,14 @@ Or directories that generally aren't encountered in other similar projects.
## Building ## Building
1. Install `bundler` onto your system. 1. Install `rbenv` and its `ruby-build` plugins. Refer to
[rbenv/rbenv README.md for more information](https://github.com/rbenv/rbenv/blob/master/README.md#basic-git-checkout)
1. `cd` to root of this repository, if you didn't already. 1. `cd` to root of this repository, if you didn't already.
1. _Optionally_ configure where you wish bundler to install everything. This 1. Install the required Ruby version by `rbenv install`
repository already specifies `bundle config set --local path 'vendor/bundle'` 1. _Optionally_ configure where you wish bundler to install everything by e.g.
in the gitignored `.bundle/config` file. `bundle config set --local path 'vendor/bundle'`, but the rbenv default
should work just fine
1. Run `bundle install` 1. Run `bundle install`
1. You are done, `bundle exec jekyll <build|serve>` and similar commands should 1. You are done, `bundle exec jekyll <build|serve>` and similar commands should
work, just remember `bundle exec` in front of the command so the system wide work. I suggest `bundle exec jekyll serve -lo` which will livereload and open
installation doesn't unintentionally get used. the web browser for you.