No description
Find a file
2020-10-11 13:33:50 +02:00
.bundle fix hat 2017-12-11 19:02:49 +01:00
commands Add command for event 2020-08-12 15:52:04 +02:00
content Update 08_talk.md 2020-10-11 13:33:50 +02:00
data Suggestions 2020-07-26 00:09:32 +02:00
drive@c68d3ec27a General updates 2020-08-06 15:32:22 +02:00
layouts Add option for custom header text background color 2020-10-11 05:31:28 +02:00
lib Speed up compilation of html pages in production (#401) 2020-08-26 11:44:49 +02:00
.codeclimate.yml Use latest rubocop in codeclimate 2020-02-02 17:19:32 +01:00
.gitignore Find the source of longstanding personal bug 2019-01-07 22:15:33 +01:00
.gitmodules Let submodule track master instead of a single commit 2018-12-29 17:50:23 +01:00
.mdlrc fix some markdown linting 2017-05-22 03:29:42 +02:00
.ruby-version Update Ruby and pandoc version 2019-11-27 16:06:47 +01:00
.travis.yml Speed up compilation of html pages in production (#401) 2020-08-26 11:44:49 +02:00
Checks disable html check 2017-05-01 23:56:38 +02:00
comment.sh Removed comment 2019-03-08 02:47:07 +01:00
deploy.sh try travis PR comments 2018-10-16 21:28:15 +02:00
Gemfile Replace therubyracer with mini_racer 2019-11-27 16:28:59 +01:00
Gemfile.lock Speed up compilation of html pages in production (#401) 2020-08-26 11:44:49 +02:00
Guardfile fix typos ..and a few other things 2017-06-14 09:09:37 +02:00
id_rsa.enc add encrypted ssh key 2016-07-18 13:31:59 +02:00
LICENSE Create LICENSE 2018-03-23 00:22:07 +01:00
nanoc.yaml Split supporting member years and academic year 2020-07-12 11:22:00 +02:00
package.json General updates 2020-08-06 15:32:22 +02:00
README.md Better deploy instructions in README.md 2020-09-23 10:05:16 +02:00
Rules Support predefined locations 2020-08-12 15:52:00 +02:00
yarn.lock General updates 2020-08-06 15:32:22 +02:00

zeus.ugent.be

Build Status Code Climate PageSpeed PageSpeed

This repository contains the source code for zeus.ugent.be, the website of Zeus WPI, the official student association of Informatics at Ghent University. The site is developed using nanoc, which is actively developed by ex-Zeus member ddfreyne. The CSS framework used is Bulma. We primarily focus on using markdown for blogposts and events. Feel free to make a Pull Request with a blog post if you feel inspired and need an outlet!

Please check the Wiki for questions about structure.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

You will need Ruby (gem), yarn and pandoc (optional). Installation instructions are listed below.

Installing

If bundler is not yet installed on your system, make sure to install it using the following command:

gem install bundler

In the root directory of the project, execute following commands

bundle install
yarn install

You will (momentarily) also need pandoc and latex to compile the reports from the board meetings. Refer to your OS package manager to install these things.

These will pull in all Ruby and Node.js dependencies. If everything goes well, you should be able to execute the following.

bundle exec nanoc live

Go to http://localhost:3000 to view the site! When developing, the site gets regenerated when editing files. A simple refresh will show the new changes.

Optional: install submodules

Our official meeting reports are added as a submodule so they update automatically. For normal development, it is not required to initialize these. But if you want to deploy to production (or test the report generation), you will have to initialize the submodule.

git submodule update --init --recursive

Deploying

The latest and greatest builds on master get deployed automatically using travis.

For manual deployment, run

# Build the site for production
bundle exec nanon --env=prod

# Run checks
bundle exec nanoc --env=prod check --deploy

# Deploy it to the server
bundle exec nanoc deploy --target public --env=prod

If you want to deploy this on your own system for whatever reason, just serve the files using a webserver like nginx or Apache.

Submitting a Pull Request

Once you've submitted a PR, it will automatically be deployed to (PR#).pr.zeus.gent, for easier reviewing.

Analytics

Analytics are powered by Fathom and are available on https://stats.zeus.gent. These are only available to administrators with proper rights. These analytics are self hosted and provide only simple statistics for our information, without breaching your privacy.

Built With

  • nanoc, static site generator
  • Bulma, CSS framework

Authors

See the list of contributors who participated in this project.