Website for Penn's Data Structures and Algorithms course (CIS 121 Fall 2016).
-
Install Ruby and the Bundler gem. If you are using a Mac, you already have Ruby installed, so the following command should work (maybe needing
sudo
):$ gem install bundler
-
Install NPM. It is available as a Homebrew package, so you can just run
$ brew install npm
(Otherwise, follow the NPM project's instructions for your platform.)
-
Install this project's dependencies from Bundler and NPM, and check out submodules that this project depends on:
$ bundle install $ npm install
-
Build and run the website locally. (Note that all Jekyll commands such as
jekyll build
orjekyll serve
must be prefixed withbundle exec
.)$ bundle exec jekyll serve --watch --incremental
Now, navigate to
http://localhost:4000/
, and you should see the website!