暫無描述

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

README.md

RubyCAS-Server

Copyright

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

Authors

See https://github.com/rubycas/rubycas-server/graphs/contributors

Installation

Example with mysql database:

  1. git clone git://github.com/rubycas/rubycas-server.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.

License

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.