Simply include it in your Decidim instance.
Add this line to your application's Gemfile:
gem 'decidim-stratified_sortitions'And then execute:
bundleAfter installing the gem you must import and execute the migrations bundled with the gem:
bundle exec rails decidim_stratified_sortitions:install:migrations
bundle exec rails db:migrateCreate a dummy app in your application (if not present):
bundle exec rake test_app
cd spec/decidim_dummy_app/
bundle exec rails decidim_stratified_sortitions:install:migrations
RAILS_ENV=test bundle exec rails db:migrateAnd run tests:
bundle exec rspec specSee Decidim.
See Decidim.