MUN Computer Science Society Website
View it live here: https://muncompsci.ca
The content for the site lives in the
content/ folder. Fork this repo and send us (via a pull request)
- New tutorials and resources
- Spelling fixes
- Updated course information
- Anything you can think of
Install Lektor before proceeding.
curl -sf https://www.getlektor.com/install.sh | sh
# Clone the repo git clone https://github.com/MUNComputerScienceSociety/Website # Enter cloned folder cd Website # Launch a Lektor server to auto-compile and host the site lektor server # Now go to http://localhost:5000 in a web browser
Changes made to this repository are reflected automatically on the site live. Do not rewrite the history of this repository or else you will be cuddled by the most adorable of kittens. But seriously, don't mess with time.
Adding new course notes
To add notes (descriptions, resources, past assignments, etc.) for courses:
- Create a new folder under
content/resources/courses/named as the course number (for example,
- Create a new empty text file in the new folder called
- You can structure this file like so:
title: COMP <course_number> --- body: # Content
You can replace
<course_number> with the course number you'd like to add notes for.
And you can add content below
body: in Markdown.
Writing a new blog post
To write a new blog post:
- Fork and clone the repo (or switch to another branch if you are a member of this GitHub organization)
python scripts/new_post.pyand answer all of the questions. Example:
$ python scripts\new_post.py Are you currently in a branch other than master, or using a forked repo? [y/N]: y Title for post: My new post Your name: Riley Flynn All done! You can now write your blog post in C:\Users\nint8\Development\Website\content\blog\My new post\contents.lr and push it to git when you are done.
- Write your post in the specified file using markdown
- Commit your changes and submit a pull request
If your post looks good and we have no changes we want made, your post should be up on the site shortly after an exec reviews it.