Crowdsourcing management system for Ruby on Rails which powers
Ruby JavaScript HTML Cucumber CoffeeScript CSS Other
Latest commit d211928 Nov 9, 2015 @volontarian volontarian Release 0.7.1.
Failed to load latest commit information.
app Don't load comments on task show page. Oct 30, 2015
db/migrate refs #96 Use user's timezone. Oct 23, 2015
doc Adds sequence diagram for wizard. Aug 9, 2013
lib Release 0.7.1. Nov 9, 2015
script initial version Nov 11, 2012
vendor_extensions/active_model Move view helpers to app/helpers/voluntary Mar 12, 2014
.gitignore Adds /dummy/coverage to git ignore list. Apr 8, 2015
.travis.yml Travis CI upgrade through 'sudo:false'. Oct 29, 2015
Gemfile Updates will_paginate to 3.0.7 and replaces will_paginate/mongoid by … Apr 9, 2015
MIT-LICENSE Update MIT-LICENSE Mar 22, 2015 Update Sep 3, 2015
Rakefile ? Jan 27, 2014

Voluntary Build Status Code Climate Test Coverage Dependency Status

This is a gem which turns your rails application into a crowdsourcing platform to run on your intranet or on the internet.

Then you can add existing voluntary products like text creation or create your own products.


New Application

Run this in your console:

  rvm --create use 1.9.3@your_crowdsourcing_platform_name
  gem update bundler
  gem install rails -v 4.0.13 --no-rdoc --no-ri  
  rails new your_crowdsourcing_platform_name
  cd your_crowdsourcing_platform_name

Add this to your Gemfile:

  gem 'voluntary'

Add voluntary products to your Gemfile.

Run this in your console:

  bundle install  

Run this in your console (confirm all overwrite questions):

  rails g voluntary:install
  rake railties:install:migrations

Remove gem 'sqlite3' from your Gemfile.

Copy the content of config/database.example.yml into config/database.yml

Add this to your application.rb:

  config.generators do |g|
    g.orm :active_record

Remove public/index.html

Add at least 1 controller with 1 action, 1 view and a root route.

Add a Capfile to your Rails root.

Run this in your console:

  bundle install
  rake db:create
  rake db:migrate
  rails s

New Product

  git clone
  cd voluntary_product_name
  rvm --create use --rvmrc 1.9.3@voluntary_product_name # if you use RVM
  gem update bundler
  gem install rails -v 4.0.13 --no-ri --no-rdoc
  cd ..
  rails plugin new voluntary_product_name --database=postgresql --skip-javascript --skip-test-unit --dummy-path=dummy --full
  cd voluntary_product_name
  # Add voluntary gem as a dependency to gemspec ('~> 0.2.1').
  # Add development dependencies from the following gemspec to product's gemspec:
  # add "require 'voluntary'" to lib/voluntary_product_name.rb
  # bundle install
  cd dummy
  # Add development dependencies to dummy Gemfile, see voluntary_text_creation. 
  bundle install
  # change config/boot.rb to require bundler like here:
  # change database names to #{product_name}_#{environment} and customize user credentials in config/database.yml
  bundle exec rake db:create:all && bundle exec rails g voluntary:product_dummy # confirm all overwrite questions except of Gemfile
  cd ..
  # add gitignore file from voluntary:
  bundle exec rails g migration add_product_name_product
  # fill migration file with template:
  cd dummy
  bundle exec rake railties:install:migrations
  # change database names to #{product_name}_#{environment} and customize user credentials in dummy/config/mongoid.yml
  # create a class for your new product under app/models/product/product_name.rb like:  
  bundle exec rake db:migrate && bundle exec rake db:test:clone_structure
  bundle exec rails s


This project uses MIT-LICENSE.