All commands below should be run as command-line shell commands. For example, on Mac, these commands can be run in the built-in App Terminal
, or iterm2
(a popular 3rd-party alternative).
-
Clone this repository:
git clone https://github.com/790gradml/gradML.git
-
(Important)
cd
to the directory of your clone of this repo -
Install Ruby
-
If on Mac (tested on a fresh-installed MacOS 13.6):
- Install
homebrew
brew install chruby
brew install rbenv ruby-build
rbenv install 3.1.3
- add
eval "$(rbenv init -)"
to your shell, e.g. to.zshrc
rbenv local 3.1.3
- Install
-
If on other OS, see #11 for some details
-
-
Install Jekyll:
gem install bundler jekyll
-
Install all this repo's specific dependencies
bundle install
-
Get the site running locally via
bundle exec jekyll serve
-
Open your browser, and go to http://localhost:4000; you should see something that looks familiar 🥳