- Install Ruby.
- It is highly recommended you use a Ruby version manager such as rbenv or chruby
- In order to install rbenv on Mac, do the following:
-
-
brew install rbenv ruby-build
-
# run this and follow the printed instructions:
-
rbenv init
-
- Install ruby:
rbenv install 3.1.3
If you want to see the latest version of ruby, you can run the following command:
rbenv install -l
-
Install Jekyll
-
gem install jekyll
-
- cd to the repo
- Run
bundle install
- Run
bundle exec jekyll serve
- Access the project at http://localhost:4000/js-visualize-components-samples/