What is Gandalf?
In short, Gandalf is a project that does everything that makes organising and managing an event a lot easier for FK-clubs of the University of Ghent. The application is written specifically for the UGent FakulteitenKonvent. It allows students to register for events and it also interacts with the FK-Enrolment database and allows members of student unions to subscribe to member-only events from their clubs.
- Set up your rails environment (see Zeus Wiki/Howto Rails)
- Install the needed gems with
- Run the database seeds (if not done yet)
- Start your rails server (see the last part of the Howto Rails guide for correct hostnames etc.)
- Log in once
- Open your rails console (
- Get your user:
u = User.first
- Set the admin flag:
u.admin = true
- Add Zeus WPI to your clubs:
u.clubs = [Club.find_by_internal_name(:zeus)]
- Save your user:
You need a https setup to use cas. The process is quite simple. You need to generate a self signed certificate which is just a few commands and then
openssl genrsa -des3 -passout pass:xxxx -out server.pass.key 2048 openssl rsa -passin pass:xxxx -in server.pass.key -out server.key rm server.pass.key openssl req -new -key server.key -out server.csr openssl x509 -req -sha256 -days 365 -in server.csr -signkey server.key -out server.crt rails s -b 'ssl://localhost:8080?key=server.key&cert=server.crt'
Contributors (in order of contribution)
- Felix Van der Jeugt
- Toon Willems
- Tom Naessens
- Maarten Herthoge