Rack app

From QMachine Wiki
Jump to: navigation, search

An experimental implementation of QMachine using Rack and Sinatra is now available in the project repository. It uses the sqlite3 gem to provide persistent storage in a self-contained manner.

A prebuilt sandbox for testing on localhost is available here. To use it, download the tarball and extract its contents. Then, from within the new directory,

   $ bundle install
   $ bundle exec rackup

If you don't already have Bundler installed, you can install it via

   $ gem install bundler

Then, point your browser to http://localhost:8177.

Note also that RVM is indispensible here for installing everything in a user-level sandbox! Eventually I will merge the teaching implementation into the Ruby gem.