-
Notifications
You must be signed in to change notification settings - Fork 2
Installation Instructions
mwarnock edited this page Sep 13, 2010
·
2 revisions
- Install rails and necessary gems
- Download and compile sphinx – make sure you have the mysql development headers
- 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
- Load the test data provided: db/test_data.sql
- mysql -u -p
- use radsearch;
- source db/test_data.sql;
- Finalize sphinx using ultrasphinx rake tasks:
- rake ultrasphinx:configure
- rake ultrasphinx:index
- rake ultrasphinx:daemon:start (must be run as root, or sudo)
- You will want to set up a cron job to call rake ultrasphinx:index nightly. This should also be done as root.
- Customize authentication and hipaa audit trail logging in application.rb
- The default user/pass is admin/password