Hey there! This is the source code for the Fall 2022 CS 131 course website. It is built with:
- Jekyll, a Ruby-based static site generator
- just-the-docs, a Jekyll theme providing the base styling and structure
- just-the-class, a template that extends just-the-docs for class-specific features
This project follows general Ruby conventions. We highly suggest you use rbenv to manage your Ruby environment.
First, clone the repository.
git clone https://github.com/UCLA-CS-131/fall-22.git
# or, with SSH
git clone [email protected]:UCLA-CS-131/fall-22.git
Then, go into the folder, and install the relevant dependencies with bundler:
$ cd fall-22
$ bundle
Finally, serve the site:
$ bundle exec jekyll serve
Configuration file: /Users/matt/code/fall-22/_config.yml
Source: /Users/matt/code/fall-22
Destination: /Users/matt/code/fall-22/_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 0.664 seconds.
Auto-regeneration: enabled for '/Users/matt/code/fall-22'
Server address: http://127.0.0.1:4000/fall-22/
Server running... press ctrl-c to stop.
This site is distributed under the MIT License with the notice deriving from Kevin Lin's work on just-the-class.
Matt Wang, a major author of this code, is also a maintainer for just-the-docs.
Have you used this code? We'd love to hear from you! Submit an issue or send us an email ([email protected]).