added backward compatiblity for data migration
[MojoFacets.git] / README
1 Mojo Facets - server side facet browsing using Mojolicious and jQuery UI
2
3
4 Data sources:
5
6 Put JSON file from Simile Exhibit project in data/ with extension .js or .json
7
8 Alternative format is pipe (|) separated text files with extension .txt
9 First column is always header with field names
10 Multi-line values should be wrapped in ^multi-line-text^
11
12 If you save bounch of html files with table in directory with .html extension, they will
13 we all read as single data set, allowing easy analysys of search results, for example.
14
15
16 Start with:
17
18   LANG=hr_HR.utf8 ./script/mojo_facets daemon --reload
19
20
21 Data replication:
22
23   # master
24   ./script/mojo_facets daemon --listen 'http://*:4444' --reload
25
26   # slave
27   MASTER=http://localhost:4444 ./script/mojo_facets daemon --reload
28