Skip to content

shakaman/resa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

126 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RESA

Check and make reservations for our meeting rooms.

Requirements

  • Ruby 1.8, 1.9

Install

git clone https://github.com/shakaman/resa.git
cd resa
mkdir tmp
gem install bundler && bundle install
cp config/config_example.yml config/config.yml
cp config/development_example.yml config/development.yml

Edit various config files (be smart) config/config.yml and config/development.yml.

notice: you should add a user using console and switch it''s permission_level to -1. You now have an admin account.

bundle exec ruby bin/console
User.set(:email => "admin@admin.com", :password => "admin",
  :password_confirmation => 'admin', :permission_level => -1)

Create Location set on console:
Resa::Location.import
Resa::Calendar.import

Usage

Start with:

export RUBYLIB=./lib/
bundle exec thin start -C config/development.yml

Or with shotgun on development:

bundle exec shotgun -s thin -p 3000 config/resa.ru

Check http://localhost:3000/ in your $BROWSER of choice.

Load the development environment in a IRB console:

ruby bin/console

Tests

rake test

License

GNU AFFERO GENERAL PUBLIC LICENSE see license.txt

About

Show availability of meeting rooms from ics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages