Closed 1ma closed 1 year ago
This is only a convenience for MiniBolt contributors. To use it on Ubuntu/Debian:
Install Ruby:
$ sudo apt install ruby3.0 ruby3.0-dev
Set $GEM_HOME and $GEM_PATH to $HOME/.gem, and add $GEM_HOME/bin to your $PATH.
$GEM_HOME
$GEM_PATH
$HOME/.gem
$GEM_HOME/bin
$PATH
$ nano ~/.profile
export GEM_HOME="$HOME/.gem" export GEM_PATH="$GEM_HOME"
export PATH="$PATH:$GEM_HOME/bin"
Reboot, or just reload the profile file for the changes to take effect immediately in the current terminal session:
$ source ~/.profile
2. Install [Bundler](https://bundler.io/), Ruby's package manager:
$ gem install bundler $ which bundle /home/1ma/.gem/bin/bundle
3. Navigate to the MiniBolt project directory and install MiniBolt's dependencies with Bundler:
$ bundle install
## Development Flow Open a terminal, and from inside the project directory run:
$ bundle exec jekyll serve --livereload --incremental
Open the browser at [http://localhost:4000](http://localhost:4000). Each change you make in the .md files is reflected automatically after a few seconds.
LGTM untested ACK! let's go to the main!
This is only a convenience for MiniBolt contributors. To use it on Ubuntu/Debian:
First time setup
Install Ruby:
Set
$GEM_HOME
and$GEM_PATH
to$HOME/.gem
, and add$GEM_HOME/bin
to your$PATH
.add
export GEM_HOME="$HOME/.gem" export GEM_PATH="$GEM_HOME"
modify
export PATH="$PATH:$GEM_HOME/bin"
$ source ~/.profile
$ gem install bundler $ which bundle /home/1ma/.gem/bin/bundle
$ bundle install
$ bundle exec jekyll serve --livereload --incremental