Skip to content

octree-gva/decidim-module-external_newsletter

Repository files navigation

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

Lausanne Participe — Une plateforme de participation pour imaginer et réaliser ensemble Voca – Open-Source SaaS platform for Decidim

Decidim: Use External Newsletter

This module removes newsletters from Decidim, to use external newsletters, sponsored by the Lausanne Participe platform.

Why it's needed?

Participation is wide, and can use many digital tools. To have a broader newsletter, that includes the whole participation space of the city we need:

  • Subscribers to the newsletters don't need an account to subscribe, just an email
  • The newsletter sending need to be managed by a restricted group of persons.
  • The form to register to the newsletter needs to be included in every digital spaces involving participation.

Usage

This gem removes functionnalities, and add very little to the instance. The database is not afftected, but we give some Rake Tasks to comply to RGPD and clean previously installed Decidim.

Installation

Add this line to your application's Gemfile:

gem "decidim-external_newsletter"

And then execute:

bundle

Testing

bundle exec rake test_app

Local development

Run a postgres database and load env vars

docker-compose up -d
source .env.local

Run if you haven't already:

bundle

And then

rake decidim:generate_external_development_app

Setup and run the decidim development server

cd development_app
rails db:migrate
rails db:seed
rails s

Access your local environment localhost:3000

Contributing

See Decidim.

License

This engine is distributed under the GNU AFFERO GENERAL PUBLIC LICENSE



Decidim Installation by Octree

About

Remove Newsletters from Decidim.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages