Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.64 KB

README.md

File metadata and controls

51 lines (32 loc) · 1.64 KB

EJ component extends Decidim's capabilities to allow it to collect users opinions. After enabling and configuring the component, a participation page will be available. The voting system is composed of a subject, a list of comments about the subject and three vote options. The votes are send to EJ using its API.

Installation

Add this line to your application's Gemfile:

gem "decidim-ej"

And then execute:

bundle

For local development, you can refer to this repository. This component depends on a running EJ instance.

Usage

  1. Creates an EJ conversation.

new conversation button

  1. Retrieves the conversation ID from URL. Keep this information.

conversation id

  1. Edit some Decidim participatory space and click on 'Components'.

partipatory space components

  1. Click on 'add components' and then click on EJ component.

installing EJ component

  1. Configure EJ component to request the conversation created on step 1.
  • The host URL is the http/https EJ URL. This can be a local or remote EJ instance.
  • The conversation identifier is the ID from step 2.

Now, you can save the component and it will appear on participatory space components list.

configuring EJ

  1. On components list, click on EJ component name. Decidim will load the participation page for the configured conversation.

using EJ