Works with ruby 1.8.6, may work with earlier 1.8.x versions.
Ruby on Rails 2.x required.
MySQL 5.x required.
Note: this document assumes MySQL has a user called 'root' with an empty password; feel free to substitute your own username/password as appropriate.
Works with eXist 1.2.3 (rev7866), probably works with any 1.x version.
Optional. If available and CAIRNS is configured to use it, eXist is used to store raw XML messages.
Works with YUI 2.5.1.
Unpack the CAIRNS distribution.
Unpack the YUI distribution in CAIRNS/cairns/public
You may need/want to change 'username:' and 'password:' in the 'development:' section, or create a new user:
mysql> grant all privileges on cairns_development.* to 'cairns'@'localhost' identified by 'cassowary';
You may also need/want to change 'socket:' depending on your OS, so double-check that the MySQL socket is where this setting says it is.
CAIRNS_DATABASE_HOST should be the hostname of the eXist server. CAIRNS_DATABASE_PORT should be the port of the eXist server (eg. 8088).
Comment these lines out if you do not wish to use eXist.