Furrest City's modified version of OSEM http://osem.io
Find a file
2013-08-16 16:09:29 +03:00
app fix rebase conflict 2013-08-16 16:09:29 +03:00
config star voting system for proposals 2013-08-16 16:06:01 +03:00
db star voting system for proposals 2013-08-16 16:06:01 +03:00
doc First checkin 2013-01-07 09:04:09 +01:00
lib First checkin 2013-01-07 09:04:09 +01:00
public First version of the non-js schedule. Removed the assets from version control. 2013-06-19 13:58:48 +02:00
script First checkin 2013-01-07 09:04:09 +01:00
test Starting to add email sending 2013-01-14 08:49:49 +01:00
vendor First checkin 2013-01-07 09:04:09 +01:00
.gitignore Add bundle to .gitignore 2013-06-21 15:11:32 +00:00
config.ru First checkin 2013-01-07 09:04:09 +01:00
Gemfile xlsx export for registrations list 2013-07-16 09:47:23 +02:00
Gemfile.lock xlsx export for registrations list 2013-07-16 09:47:23 +02:00
Rakefile First checkin 2013-01-07 09:04:09 +01:00
README.md Improve the documentation. 2013-08-15 16:51:57 +02:00
README.rdoc First checkin 2013-01-07 09:04:09 +01:00

OSEM

The Open Source Event Manager. An event management tool tailored to Free and Open Source Software conferences.

Local Installation

Ruby and Ruby on Rails:

OSEM:

Dependencies:

  • git clone https://github.com/openSUSE/osem.git on the directory you want Apache to serve the content from. (in our example, '/srv/http/osem.example.org')
  • Run bundle install for getting all the needed gems.
  • Install ImageMagick with either 'yum install ImageMagick' or 'apt-get install imagemagick'

Configuration files:

  • cp config/config.yml.example config/config.yml
  • cp config/database.yml.example config/database.yml

Directories and permissions:

  • cd into the root directory for your OSEM app
  • mkdir storage cache system
  • chown all the files and directories to the user that runs apache. (www-data on Ubuntu / Debian, apache on CentOS/Fedora/RHEL)

Database:

  • bundle exec rake db:setup
  • bundle exec rake db:migrate
  • bundle exec rake db:seed

Apache:

  • Create a new vhost that should look like this:

""" <VirtualHost *:80> ServerName osem.example.org DocumentRoot /srv/http/osem.example.org/public RailsEnv development

<Directory /srv/http/osem.example.org/public> # This relaxes Apache security settings. AllowOverride all # MultiViews must be turned off. Options -MultiViews """

  • Connect to osem.example.org and register your first user. Make also sure that Postfix is installed and configured on the system for the confirmation mail to pass through.

Caveats

To make the first registered user an admin:

  • rails console
  • Check for available users with 'User.all'
  • If your user's ID is [1] then do: "hero = User.find('1')"
  • Give yourself admin status with "hero.role_ids=[3]"

If you have problems with rails console, try this in the Gemfile:

  • gem uninstall rb-readline
  • gem 'rb-readline', '~>0.4.2'

If you have problems with jquery-ui, try this in the Gemfile:

  • gem "jquery-rails", "~> 2.3.0"

Or make the needed change as explained at http://stackoverflow.com/questions/17830313/couldnt-find-file-jquery-ui.