-
Notifications
You must be signed in to change notification settings - Fork 268
Quick Start
zuk edited this page Oct 24, 2012
·
7 revisions
git clone git://github.com/rubycas/rubycas-server.gitcd rubycas-servercp config/config.example.yml config.yml- Customize your server by modifying the
config.ymlfile. 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.fileto 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_certline and changing the port to something like8888
- Change the database driver to
- Create the database (i.e.
mysqladmin -u root create casserveror whatever you have inconfig.yml) - Modify the existing Gemfile by adding drivers for your database server. For example, if you configured
mysql2in 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.
Additional installation and configuration help is available on the Installation. For help on deploying in production, see Deploying Under Passenger.
If you have questions, try the RubyCAS Google Group.