No description
Find a file
2019-10-04 14:45:23 +02:00
.bundle fix hat 2017-12-11 19:02:49 +01:00
commands Fix style warnings 2017-10-13 11:38:02 +02:00
content Update lan.md 2019-10-03 23:18:33 +02:00
data Fix artefact in bestuur.yaml 2019-06-07 15:53:42 +02:00
drive@094215d93c update drive for new reports 2019-09-26 17:37:30 +02:00
layouts Fix the problems with bumping the current acedemic year while no posts have been made 2019-08-17 18:11:53 +02:00
lib Fix the problems with bumping the current acedemic year while no posts have been made 2019-08-17 18:11:53 +02:00
.codeclimate.yml Add PnJ codenight (#295) 2018-11-23 23:08:33 +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 Updates and fixes for tables and such 2018-10-14 17:10:53 +02:00
.travis.yml dist 2019-09-26 17:37:30 +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 move dependencies 2018-10-21 00:08:18 +02:00
Gemfile.lock Update bundler to 2.0.0 to fix Travis issue 2019-07-21 13:40:35 +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 Fix the problems with bumping the current acedemic year while no posts have been made 2019-08-17 18:11:53 +02:00
package.json Add timeline package 2019-08-13 23:12:17 +02:00
README.md Document FB import command 2019-01-07 22:52:13 +01:00
Rules potentially fix reports issue? 2019-09-26 17:37:30 +02:00
yarn.lock potentially fix reports issue? 2019-09-26 17:37:30 +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

bundle exec nanoc deploy --target public

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.

Import event from Facebook

You can import events from Facebook with bundle exec nanoc fetch #{event_id}. You will need to create a .fb_token file and request an API token to put in there, see FB graph API.

You will probably need to make a new app (see navbar, it's quite trivial), unless you already have a Zeus site app.

You need to create a User Token with user_events permission.

We currently request from v2.10, details about the code can be found in [./commands/fetch].

Built With

  • nanoc, static site generator
  • Bulma, CSS framework

Authors

See the list of contributors who participated in this project.