fe126fa1b7
Signed-off-by: Tyler Pickett <t.pickett66@gmail.com> |
||
---|---|---|
bin | ||
config | ||
db | ||
lib | ||
locales | ||
log | ||
public/themes | ||
resources | ||
spec | ||
tasks | ||
.gitignore | ||
CHANGELOG | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE | ||
README.md | ||
Rakefile | ||
config.ru | ||
rubycas-server.gemspec | ||
setup.rb |
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 http://github.com/gunark/rubycas-server/commits/
Installation
git clone git://github.com/rubycas/rubycas-server.git
cd rubycas-server
cp config/config.example.yml config.yml
- Customize your server by modifying the
config.yml
file. It is well commented but make sure that you take care of the following:- Change the database driver to
mysql2
- Configure at least one authenticator
- You might want to change
log.file
to something local, so that you don't need root. For example justcasserver.log
- You might also want to disable SSL for now by commenting out the
ssl_cert
line and changing the port to something like8888
- Change the database driver to
- Create the database (i.e.
mysqladmin -u root create casserver
or whatever you have inconfig.yml
) - 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"
andgem "activerecord-mysql2-adapter"
- Run
bundle install
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.
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.