Skip to content

Repository files navigation

Decidim - Octree Participatory democracy on a robust and open source solution


Decidim Voca

Fixes and adjustments for the Decidim instances distributed by voca.

Documentation

The documentation and the API specification are in the documentation website

Development and testing (Docker)

Use the Compose stack from this directory. Prefer docker compose exec into the long-running voca service (after docker compose up -d) so Bundler sees the same gem path as the dev image.

Example: run the export specs and unset DATABASE_URL so the dummy app uses config/database.yml:

docker compose up -d
docker compose exec voca bash -lc 'cd /home/module && unset DATABASE_URL && export RAILS_ENV=test && bundle exec rspec spec/lib/decidim/voca/export*spec.rb'

There is no bin/check in this repository; use bundle exec rspec and bundle exec rubocop inside the container. See CONTRIBUTING.md for where features live.

Features

  • anonymize users: Runrails decidim:voca:anonymize to anonymize all your database and avoid sending email or leaking nicknames/passwords.

Contribute

License

This module is under APGLv3 Licence. See LICENSE for more information

Update Versions

Release a version is up to the maintainer of this repo.

The main package.json version attribute is dispatch on versionning the ruby engine, allowing to bump the multi-repo with unique version.

To run these scripts, change your current branch to main and do:

Release a patch

yarn version --new-version patch --no-git-tag-version
yarn postversion
git add .
git tag v0.0.<yourpatch>

Release a minor

yarn version --new-version minor --no-git-tag-version
yarn postversion
git add .
git tag $(yarn postversion)

About

Gem for all voca's decidim instances

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages