-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME
More file actions
40 lines (35 loc) · 1.46 KB
/
README
File metadata and controls
40 lines (35 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
radsearch
http://github.com/mwarnock/radsearch/tree/master
A web-based ruby on rails application for searching
LICENSE
Released under the latest version of the Gnu Public License
See LICENSE file for more information
REQUIREMENTS
ruby on rails 2.1.2
sphinx 0.9.8-rc1 - http://www.sphinxsearch.com/
mysql
BUNDLED SOFTWARE
ultrasphinx rails plugin - http://blog.evanweaver.com/files/doc/fauna/ultrasphinx/files/README.html
REQUIRED GEMS
- chronic (req by ultrasphinx)
- rest_open_uri (required for hipaa_filter plugin, which is currently inactive)
INSTALL INSTRUCTIONS
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 <username> -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