MathsForCS

MathsForCS

Website for the Mathematics and Problem Solving 2020-21 module at York St John University, based on the Jekyll Docs theme

Maths for CS Website

A first-year course for computer science students at York St John University, covering number systems, modular arithmatic, algorithms, logic, set theory, and statistics.

This is the source code for the module website. It uses the Jekyll Doc theme for Jekyll.

Unless you want to fork this repository, you are probably looking for the module website.

Running locally

You need Ruby and gem before starting, then:

# install bundler
gem install bundler

# clone the project
git clone https://github.com/aksakalli/jekyll-doc-theme.git
cd jekyll-doc-theme

# install dependencies
bundle install

# run jekyll with dependencies
bundle exec jekyll serve

Docker

Alternatively, you can deploy it using the multi-stage Dockerfile that serves files from Nginx for better performance in production.

Build the image for your site's JEKYLL_BASEURL:

docker build --build-arg JEKYLL_BASEURL="/your-base/url" -t jekyll-doc-theme .

(or leave it empty for root: JEKYLL_BASEURL="") and serve it:

docker run -p 8080:80 jekyll-doc-theme

License

The content of this website, excluding the linked videos, is licensed under the CC-BY-SA 4.0 International license.

Jekyll Doc theme is released under the MIT license.