Open Vote Web Service
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
public
spec
views
.gitignore
MIT-LICENSE
README.rdoc
Rakefile
config.ru

README.rdoc

Open Vote Web Service

Work in progress.

Configuration

Dependencies and all configuration is done in environment.rb. Your database is also set up here. DataMapper will use sqlite3 by default. Tests use the sqlite3-memory adapter (no configuration needed).

If you're missing some of the required gems, you can install them with rake gems:install

Testing

Add your specs in spec; just require spec_helper.rb to pre-configure the test environment. A number of samples are provided (including a sample model, which can be removed). To run the specs:

rake spec

Getting Started

rake db:migrate
ruby bin/run.rb