Welcome to the repository for our Moral Reasoning and Interaction Design course website. This repository contains all the necessary files and resources to set up and maintain our course website. Whether you are a student looking to make contributions or an instructor managing the content, this guide will help you get started.
Link to installation guide: https://jekyllrb.com/docs/installation/
Before you can build and serve the course website locally, you need to ensure that you have the following prerequisites installed on your system:
-
Ruby: Jekyll is a Ruby gem, so make sure you have Ruby installed. You can check your Ruby version with the following command:
ruby --version
-
Bundler: Install Bundler, which is used to manage Ruby gem dependencies, by running:
gem install bundler
-
Jekyll: To build and serve the website, you need Jekyll. Install it with Bundler:
bundle install
-
Clone this repository to your local machine using the following command:
git clone https://github.com/yourusername/course-website.git
-
Change into the project directory:
cd course-website
-
Install project dependencies using Bundler:
bundle install
To serve the website locally, use the following command:
bundle exec jekyll serve
You can then access the website in your browser at http://localhost:4000
.
The important directories and files in this repository are organized as follows:
_includes
: Stores HTML code snippets and includes._layouts
: Contains layout templates for pages._sass
: Sass stylesheets for customizing the site's design._site
: The generated website content (automatically created when building)._config.yml
: The site's main configuration file. Edit this YAML file to customize the website's settings, including site title, description, navigation menus, and more.assets
: For storing static assets like images, CSS, and JavaScript.docs
: Markdown files for website pages (e.g., syllabus).
To add or modify content, edit the appropriate Markdown files in the docs
directory or create new ones.
Make sure to follow Jekyll conventions, including using Liquid tags for dynamic content and Markdown for text formatting.
Whenever you commit changes to this repository, GitHub Pages will automatically run Jekyll to rebuild the website from your Markdown files.
This repository is configured to deploy the website using GitHub Pages. When you push changes to the main
branch, GitHub Pages will automatically build and update the live website. You can access the live site at https://uelab.github.io/
.
We welcome contributions from students and instructors. To contribute, please:
-
Submit Issues: If you encounter bugs, have suggestions for enhancements, or want to discuss any aspect of the website, you can open an issue in our repository. Please make sure to provide as much detail as possible.
-
Contribute Code: To directly contribute to the codebase, please fork this repository, create a feature branch, and submit a pull request. Additionally, when creating a pull request, consider linking it to the issue you're addressing. This helps us understand the context and purpose of your pull request.
If you have any questions or feedback, please feel free to reach out to Prof. Alexis Hiniker via email ([email protected]).