Furrest City's modified version of OSEM http://osem.io
Find a file
Gopesh Tulsyan f7a12c977b Merge pull request #261 from gopesht/fix_align_bugs
Splash Page bug fixes
2014-06-26 20:37:44 +05:30
app Merge pull request #261 from gopesht/fix_align_bugs 2014-06-26 20:37:44 +05:30
bin Rails 4 has different init script location we should conform 2014-04-24 21:41:53 +02:00
config Implements targets and campaigns for conference 2014-06-26 09:08:26 +02:00
db Implements targets and campaigns for conference 2014-06-26 09:08:26 +02: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
spec Implements targets and campaigns for conference 2014-06-26 09:08:26 +02:00
vendor First checkin 2013-01-07 09:04:09 +01:00
.gitignore Do not add rubocop config 2014-06-17 10:50:46 +02:00
.hound.yml configure houndci to allow lines up to 100 chars 2014-05-15 21:25:29 +03:00
.travis.yml Migrate all secrets to config/secrets.yml 2014-05-12 18:32:26 +02:00
config.ru First checkin 2013-01-07 09:04:09 +01:00
CONTRIBUTING.md Add rubocop to Gemfile 2014-06-17 22:50:00 +03:00
Gemfile Implements targets and campaigns for conference 2014-06-26 09:08:26 +02:00
Gemfile.lock Implements targets and campaigns for conference 2014-06-26 09:08:26 +02:00
Guardfile Add support for guard and spring 2014-04-27 23:42:32 +02:00
LICENSE Release osem under MIT. Fixes #57 2013-10-18 15:33:59 +02:00
Rakefile First checkin 2013-01-07 09:04:09 +01:00
README.md Only show OpenID links if their keys have been set. 2014-06-20 20:13:56 +03:00

Build Status Code Climate Coverage Status Security Status #OSEM The Open Source Event Manager. An event management tool tailored to Free and Open Source Software conferences.

Install OSEM

You can run rails apps in different modes (development, production). For more information about rails and what it can do, see the rails guides.

Run OSEM in development

  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 from your distribution repository
  2. Generate secret key for devise and the rails app with
rake secret

Look at config/config.yml.example.

  1. Copy the sample configuration files and adapt them
cp config/config.yml.example config/config.yml
cp config/database.yml.example config/database.yml
  1. Setup the database
bundle exec rake db:setup
  1. Run OSEM
rails server
  1. Visit the APP at
http://localhost:3000
  1. Sign up, the first user will be automatically assigned the admin role.

  2. Use openID In order to use the OpenID feature you need to register your application with the providers (Google and Facebook) and enter their API keys in config/secrets.yml file, changing the existing sample values.

You can register as a devoloper with Google from https://code.google.com/apis/console#:access You can register as a devoloper with Facebook from https://developers.facebook.com/, by selecting from the top menu the option 'Apps' -> 'Create a New App'

Unless you add the key and secret for each provider, you will not be able to see the image that redirects to the login page of the provider.

If you add a provider that does not require developers to register their application, you still need to create two (2) variables, in config/secrets.yml with the format of providername_key and providername_secret and add some sample text as their values. Example: myprovider_key = 'sample data' myprovider_secret = 'sample data'

That is required so that the check in app/views/devise/shared/_openid.html.haml will pass and the image-link to login using the provider will be shown.

Run OSEM in production

We recommend to run OSEM in production with mod_passenger and the apache web-server. There are tons of guides on how to deploy rails apps on various base operating systems. Check Google ;-)

Documentation

OSEM is extensively (some would say maniacally ;-) documented. You can generate a nice HTML documentation with ''rdoc''

bundle exec rdoc --op doc/app --all -f fivefish app
xdg-open doc/app/index.html

Testing

We are using rspec+capybara+factory girl to build test suite. You should run it continuously when you are developing, via:

bundle exec guard

This uses spring to provide a fast feedback loop for the red/green cycle.