Citizen Participation and Open Government application.
This is the open-source repository for participa2, a web application based on Decidim. Decidim is a framework for participatory democracy, you can find more about it at its documentation page.
Note that whereas decidim is a library, participa2 is a final application that uses Decidim. More specifically, participa2 is a Rails application, whereas decidim is a rubygem that provides a set of Rails Engines to the application using it.
On top of decidim's default functionality, participa2 adds some extra functionality implemented as decidim components. These custom components live inside the participa2 repo and are the following:
-
Census Connector: Basic connection to a census of people that belong to the organization.
-
Crowdfundings: Crowdfunding campaings for the democractic activity that takes places inside the organization.
-
Gravity Forms: Form management interface to the Gravity Forms Wordpress Plugin.
-
Votings: Votings interface to custom secure external voting systems.
You will need to do some steps before having the app working properly once you've deployed it:
-
Open a Rails console in the server:
bundle exec rails console
-
Create a System Admin user:
user = Decidim::System::Admin.new(email: <email>, password: <password>, password_confirmation: <password>)
user.save!
-
Visit
<your app url>/system
and 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're good to go!
bundle exec cap staging systemd:hutch:setup
bundle exec cap staging systemd:puma:setup
bundle exec cap staging deploy