a small service to find relevant infos on the bulletin board of HM
JavaScript Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
assets
config
lib
public
views
.gitignore
.rbenv-version
Capfile
Gemfile
Gemfile.lock
Guardfile
config.rb
config.ru
mensa.rb
news.rb
readme.md
rooms.rb
secured.rb
service.rb

readme.md

hm-services

Just a few little services for the University of Applied Science Munich. available services:

  • a nice search for the news in the bulletin board
  • a room search to quickly get a place for your study group
  • a current menu of the mensa

Installation

Dependencies are managed trough bundler

$ bundle install

Add a file env.rb to the root dir, for dev an empty one will do(its for stuff like Database settings)

Database

hm-news-filter will connect to Redis on localhost on the default port. You can specify an other setup if you set REDIS_URL in your environment, i.e.:

$ REDIS_URL='redis://:secret@1.2.3.4:9000/3' ruby service.rb

This would connect to host 1.2.3.4 on port 9000, uses database number 3 using the password 'secret'.

Usage

Start the server via

rackup -p4567

and go to

localhost:4567/

Problems

  • I absolutly cant figure out witch markup language is used,

Meta

Created by Eger Andreas

Creative Commons License
hm-news-filter is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.