CSCC09 Programming on the Web
Branch: master
Clone or download
Latest commit d295f39 Feb 15, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
_data week 6 Feb 15, 2019
_includes 2019 refresh Jan 3, 2019
lectures week 6 Feb 15, 2019
project project Jan 21, 2019
static 2019 refresh Jan 3, 2019
work deadline timing change Jan 13, 2019
.gitignore week3 Jan 22, 2019
404.html Alpha version Jan 1, 2017
Gemfile Alpha version Jan 1, 2017 2019 refresh Jan 3, 2019
_config.yml 2019 refresh Jan 3, 2019 office hours Jan 16, 2018 2019 refresh Jan 3, 2019

CSCC09 Programming on the Web

This is the source code for the CSCC09 Spring 2019 course website.

The site is built using Jekyll and hosted on GitHub Pages. Code is based on @CSC309-Fall-2016/

Enjoy the course!


0. Fork and clone the repo

From GitHub, fork this repo to your account, then clone it to your local machine.

1. Install RVM

$ gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
$ curl -sSL | bash -s stable

You might need to source the RVM config file. Read the instructions on screen carefully.

2. Use the latest version of Ruby

$ rvm get stable
$ rvm use ruby --install --default

3. Install Bundler (dependancy manager)

$ gem install bundler

4. Install dependencies

In the local repo directory:

$ bundle install

5. Serve the site locally

$ bundle exec jekyll serve

A local server will be started on http://localhost:4000.


0. Ensure your branch is up to date

To pull changes from the original repo, set up a remote to do so:

$ git remote add upstream
$ git pull upstream master
$ git push origin master

1. Make a new branch

Generally, it's a good idea to branch out your changes and then push them.

$ git checkout -b branchname

2. Make changes

You can make changes anywhere in the posts/layouts. This might be a good place to start if you're new to Jekyll:

3. Push changes

The changes made should reload live on your local server. Once you're satisfied with your changes, push the new branch to your forked repo.

$ git push origin branchname

4. Create a pull request

On GitHub, you can click the "New Pull Request" button, where you can then verify your changes and submit it for review.