This is the support project for the "Intro to Java" course at ReDI School.
The website is visible at:
https://redi-school.github.io/intro-java
This website was generated from the course-template. You can create your own course website creating a repository out of the same template.
Every markdown .md
file is scanned and transformed into a page automatically.
This includes files in subdirectories. The course homepage is stored in index.md
.
The website is built using Jekyll and hosted automatically by GitHub Pages. You cannot use a different generator, as Jekyll is the only one supported by GitHub Pages.
For details on how to author a static website using Jekyll, please see the Jekyll documentation.
This website is built by GitHub Pages using Jekyll. This happens automatically if GitHub Pages is configured in the following way:
- Go to the settings of the project
- Enable GitHub Pages
- Configure GitHub Pages to publish directly the
master
branch (notmaster/docs
orgh-pages
) - Don't select a theme
Once these settings are applied to the project, every commit on master
will trigger
a new build of the website that automatically replaces the older version
at the github.io
URL above. The URL can't be changed.
To build and test the website, you must have a Ruby development environment with Bundler.
On Ubuntu LTS 20.04:
sudo apt install bundler ruby-dev zlib1g-dev
The last two packages are needed to compile some native Ruby dependencies (Ubuntu specific). On MacOS and Windows, please follow the installation instructions of Ruby and Bundler as suggested in the Jekyll install guide.
Once Ruby and Bundler are installed, use the following command to download the gems, including the proper version of Jekyll (only once):
bundle install --path vendor/bundle
This creates the .bundle
and vendor
directories, that should not be committed to the git repository.
To build, test and serve the website locally, please run:
bundle exec jekyll serve
You can then visit the website on localhost:4000.
Note this website uses Just The Docs, a well-known Jekyll theme, customized with ReDI colors and logos.
For instuctions and examples of what the theme can do, and how you can do the same in your course pages, please see: