Handbook
This contains information for how MIT’s Office of Open Learning (OL) does things. The breadth of this covers coding conventions to project requirements and more.
To make changes, issue a pull request. Discussion can happen within the pull request itself.
Navigate through docs via a locally-running static site
Prerequisites
To run this locally, you need Ruby and the bunder gem installed. The recommended steps for that installation are as follows:
- Install
rvm
- Ruby can be installed in other ways, but using
rvm
is highly recommend for installing/managing your ruby versions. - Linux users: It’s NOT recommended to use the Ubuntu/debian package for this as it never seems to work. Follow the instructions in this section instead.
- OSX users:
- Update Homebrew (
brew update
) - Follow the rvm installation guide. Running the
gpg
command and the firstcurl
command should work (confirmed January 2021).rvm install RUBY_VERSION
- as of this writing, Ruby 2.7.1 was the latest and known to workgem install bundler
- Update Homebrew (
- Ruby can be installed in other ways, but using
Build and run jekyll
To run this locally, run the following commands in the handbook repo directory:
bundler install
- installs github’s flavor of jekyll and its dependenciesbundler exec jekyll serve
- runs the site at http://localhost:4000/