No description
Find a file
2019-05-22 21:43:30 +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 Add old board members 2019-05-22 19:38:54 +02:00
data Expand board members 2019-05-22 21:43:30 +02:00
drive@cca29766e7 Pull latest drive submodule 2019-02-25 15:14:08 +01:00
layouts Add old board members 2019-05-22 19:38:54 +02:00
lib Add old board members 2019-05-22 19:38:54 +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 Try to fix travis' submodule problem 2018-12-28 19:17:28 +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 move dependencies 2018-10-21 00:08:18 +02:00
Gemfile.lock blazingly fast sass compilation 2018-10-20 23:52:17 +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 Add verslagen as a data source instead of a symlink 2018-12-28 19:43:18 +01:00
package.json Updates and fixes for tables and such 2018-10-14 17:10:53 +02:00
README.md Document FB import command 2019-01-07 22:52:13 +01:00
Rules Add verslagen as a data source instead of a symlink 2018-12-28 19:43:18 +01:00
yarn.lock Updates and fixes for tables and such 2018-10-14 17:10:53 +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.