CSCD27 Computer and Network Security
Branch: master
Clone or download
Latest commit e8f97c4 Jan 8, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
_includes F18 Aug 13, 2018
_layouts F18 Aug 13, 2018
labs week5 material Oct 4, 2018
lectures website update Jan 8, 2019
static F18 Aug 13, 2018
.gitignore F18 Aug 13, 2018
Gemfile alpha version Jun 19, 2017
Gemfile.lock alpha version Jun 19, 2017
_config.yml lect03 Sep 21, 2017 office hours Sep 10, 2018

CSCD27 Computer and Network Security

This is the source code for the CSCD27 course website.

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

$ gpg --keyserver hkp:// --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
$ curl -sSL | bash -s stable

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

You can also alternatively use rbenv to manage your Ruby environment.

2. Use the latest version of Ruby

$ rvm --default use 2.3.1

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.