Skip to content

Installation Instructions

mwarnock edited this page Sep 13, 2010 · 2 revisions

Get it up and running

  1. Install rails and necessary gems
  2. Download and compile sphinx – make sure you have the mysql development headers
  3. Setup your mysql database:

    • copy config/database.yml.dist to config/database.yml and edit to reflect your desired mysql configuration
    • rake db:create to create all the necessary databases
    • rake db:schema:load to load database schema from db/schema.rb
  4. Load the test data provided: db/test_data.sql

    • mysql -u -p
    • use radsearch;
    • source db/test_data.sql;
  5. Finalize sphinx using ultrasphinx rake tasks:

    • rake ultrasphinx:configure
    • rake ultrasphinx:index
    • rake ultrasphinx:daemon:start (must be run as root, or sudo)
  6. You will want to set up a cron job to call rake ultrasphinx:index nightly. This should also be done as root.
  7. Customize authentication and hipaa audit trail logging in application.rb
  8. The default user/pass is admin/password

Clone this wiki locally