Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
app
 
 
bin
 
 
 
 
db
 
 
lib
 
 
log
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Gandalf Analytics Code Climate Coverage Status Build Status

You. Shall. Not. Pass.

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.

Getting started

  1. Set up your rails environment (see Zeus Wiki/Howto Rails)
  2. Install the needed gems with bundle install
  3. Run the database seeds (if not done yet) rake db:migrateen rake db:seed
  4. Start your rails server (see the last part of the Howto Rails guide for correct hostnames etc.)
  5. Log in once
  6. Open your rails console (rails c)
  7. Get your user: u = User.first
  8. Set the admin flag: u.admin = true
  9. Add Zeus WPI to your clubs: u.clubs = [Club.find_by_internal_name(:zeus)]
  10. Save your user: u.save

Https

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)

  1. Felix Van der Jeugt
  2. Toon Willems
  3. Tom Naessens
  4. Maarten Herthoge

About

You Shall Not Pass - An advanced e-ticket system for student clubs -

Topics

Resources

License

Packages

No packages published
You can’t perform that action at this time.