Free Open-Source participatory democracy, citizen participation and open government for cities and organizations
This is the open-source repository for decidim_colabs, based on Decidim.
You will need to do some steps before having the app working properly once you have deployed it:
- Create a System Admin user:
bin/rails decidim_system:create_admin - Visit
<your app url>/systemand login with your system admin credentials - Create a new organization. Check the locales you want to use for that organization, and select a default locale.
- Set the correct default host for the organization, otherwise the app will not work properly. Note that you need to include any subdomain you might be using.
- Fill the rest of the form and submit it.
You are good to go!
This application has some addons and customizations over the Decidim defaults:
-
A custom block for the home page called "Blocks of links" that allows to to add 3 of links to the home page.

-
A syncronization between all the users that log in through an Identity provider (aka. Oauth)2) as members of an assembly. To configure this, you need to set the following environment variables:
IDENTITY_SYNC_ASSEMBLY_SLUGthe slug of the assembly you want to sync the users to.IDENTITY_SYNC_PROVIDERthe name of the oauth2 provider you are using (defaults towpoauth).IDENTITY_SYNC_POSITIONthe position you want to give to the users as a member in the assembly (defaults toother).IDENTITY_SYNC_POSITION_OTHERthe position you want to give to the users as a member in the assembly when the position isother(defaults toParticipant)
The Azure AI translator API is integrated, ENV vars:
TRANSLATOR_API_KEYthe API KEY needed to make it workTRANSLATOR_REGIONthe region associated with your Azure subscription (defaults towesteurope)TRANSLATOR_ENDPOINTthe endpoint for the Azure Translator API (defaults tohttps://api.cognitive.microsofttranslator.com)
Also a rake task is create to allow automatic translation of content already created:
Use with source,target language:
bin/rails colabs:translate_all[ca,es]