No Description

Dmitry Yu Okunev ef1792f0dd mooaaaar aestheric fixes 6 years ago
bin b7da3f2a48 added provisory command line switch for specifying custom config file 11 years ago
config d323c3af93 Merge branch 'allowed_service_ips' 9 years ago
db b069038d4d Remove empty gitignore from db 9 years ago
gemfiles 1ee8bdc69a run rake appraisal:install to update gemfiles 9 years ago
lib ef1792f0dd mooaaaar aestheric fixes 6 years ago
locales 7bccbab4e7 Fix '%s' in Russian locale 6 years ago
log 8a0f8ef1b5 Add empty log and db folders 13 years ago
public d3e1ecf25c moaar aestheric fixes 6 years ago
resources 9659415fee moved example config to config directory. prabably more likely to be found there than in 'resources' 11 years ago
spec a4fa03ba01 Allow multiple SQL authenticators to be used without conflict. 8 years ago
tasks b0e8e3a861 make migrator use Ticket instead of Base 10 years ago
.gitignore 5f675ce20d update get value from ar 8 years ago
Appraisals 244d93e564 generate appraisals 10 years ago
CHANGELOG 619a18177c incremented version to 1.1.3.pre and updated CHANGELOG 10 years ago
Gemfile 9ac4a6c715 Basic NRNU MEPhI theme 6 years ago
Guardfile b7a4f6542a build Guardfile 10 years ago
LICENSE 6c9f16b257 Updated copyright. 10 years ago b80320ff09 Use GitHub contributors link for attribution 7 years ago
Rakefile dca9f7e625 add appraisal for testing against multiple versions of activerecord 10 years ago 2732957b7e use ConnectionManagement middleware to close database connect automatically 8 years ago
rubycas-server.gemspec 9948274980 Merge pull request #134 from mitfik/autoloads 9 years ago



Portions contributed by Matt Zukowski are copyright (c) 2011 Urbacon Ltd. Other portions are copyright of their respective authors.




Example with mysql database:

  1. git clone git://
  2. cd rubycas-server
  3. cp config/config.example.yml config.yml
  4. Customize your server by modifying the config.yml file. It is well commented but make sure that you take care of the following:
    1. Change the database driver to mysql2
    2. Configure at least one authenticator
    3. You might want to change log.file to something local, so that you don't need root. For example just casserver.log
    4. You might also want to disable SSL for now by commenting out the ssl_cert line and changing the port to something like 8888
  5. Create the database (i.e. mysqladmin -u root create casserver or whatever you have in config.yml)
  6. Modify the existing Gemfile by adding drivers for your database server. For example, if you configured mysql2 in config.yml, add this to the Gemfile: gem "mysql2"
  7. Run bundle install
  8. bundle exec rubycas-server -c config.yml

Your RubyCAS-Server should now be running. Once you've confirmed that everything looks good, try switching to a Passenger deployment. You should be able to point Apache (or whatever) to the rubycas-server/public directory, and everything should just work.

Some more info is available at the RubyCAS-Server Wiki.

If you have questions, try the RubyCAS Google Group or #rubycas on freenode.


RubyCAS-Server is licensed for use under the terms of the MIT License. See the LICENSE file bundled with the official RubyCAS-Server distribution for details.