No description
Find a file
2019-12-06 14:44:31 +01: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 Add planned events category 2019-12-06 14:41:57 +01:00
data Fix artefact in bestuur.yaml 2019-06-07 15:53:42 +02:00
drive@cf95c21944 Update drive 2019-10-07 21:57:43 +02:00
layouts Remove year from planned events since it doesn't really make sense 2019-12-06 14:44:31 +01:00
lib Remove year from planned events since it doesn't really make sense 2019-12-06 14:44:31 +01:00
.codeclimate.yml Remove support coffeescript 2019-11-27 14:54:35 +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 Update Ruby and pandoc version 2019-11-27 16:06:47 +01: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 Replace therubyracer with mini_racer 2019-11-27 16:28:59 +01: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 Update bulma 2019-11-27 15:26:48 +01:00
README.md Document FB import command 2019-01-07 22:52:13 +01:00
Rules Remove support coffeescript 2019-11-27 14:54:35 +01:00
yarn.lock Update bulma 2019-11-27 15:26:48 +01: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.