This app is designed to be a replacement for the existing wwwjdic website. The original aim was for it to be a drop-in replacement although since building it some usability enhancements have been considered.
The existing version of the site uses custom data storage well suited to the task of being responsive and speedy, and the Redis implementation aims to retain some of that efficiency and speed but improve maintainability of the source code. It should prove to be faster and more scalable than traditional SQL based data storage. Because it is a dictionary and mostly reads rather than writes then it is particularly suited to a key/value type datastore.
Ruby ( >2.0.0 to run the data import, 1.9 to run the server) Use either RVM or rbenv:
git clone https://firstname.lastname@example.org/markburns/wwwjdic.git cd wwwjdic gem install bundler bundle install
I've not tried out the import scripts on any other machine. It takes about 20 minutes on my new MacBook Pro so it probably needs improving.
There's also 2 small files within spec/fixtures/ that can be used for quickly trying out rebuilding a small version of the db.
Starting the server
bundle exec thin start