Giter Site home page Giter Site logo

osem's Introduction

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

##Local Installation

Install Ruby and Ruby on Rails:

Install OSEM

  1. Clone the git repository to the directory you want Apache to serve the content from.
git clone https://github.com/openSUSE/osem.git
  1. Install all the ruby gems.
bundle install
  1. Install ImageMagick
  • Fedora/CentOS:
yum install ImageMagick
  • Ubuntu/Debian:
apt-get install imagemagick
  1. Copy the sample configuration files
cp config/config.yml.example config/config.yml
cp config/database.yml.example config/database.yml
  1. Setup directories and permissions:
mkdir storage cache system
  • Fedora/CentOS
chown apache storage cache system
  • Debian/Ubuntu
chown www-data storage cache system
  1. Setup the database
bundle exec rake db:setup
bundle exec rake db:migrate
bundle exec rake db:seed
  1. Create a new Apache 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
   </Directory>
</VirtualHost>
  1. 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.

  2. To make the first registered user an admin:

rails console
User.all
me = User.find('1')
me.role_ids=[3]

Caveats

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.

osem's People

Contributors

hennevogel avatar differentreality avatar ancorgs avatar mbarringer avatar miska avatar nijel avatar

Watchers

James Cloos avatar Karthik Senthil avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.