11# Decidim::AlternativeLanding - Additional Content Blocks For Decidim
22
3- [ ![ [ CI] Test] ( https://github.com/Platoniq/decidim-module-alternative_landing/actions/workflows/test.yml/badge.svg )] ( https://github.com/Platoniq/decidim-module-alternative_landing/actions/workflows/test.yml )
4- [ ![ Coverage Status] ( https://coveralls.io/repos/github/Platoniq/decidim-module-alternative_landing/badge.svg?branch=main )] ( https://coveralls.io/github/Platoniq/decidim-module-alternative_landing?branch=main )
5- [ ![ Maintainability] ( https://api.codeclimate.com/v1/badges/565a00f5d7d1ed9879e7/maintainability )] ( https://codeclimate.com/github/Platoniq/decidim-module-alternative_landing/maintainability )
3+ [ ![ [ CI] Lint] ( https://github.com/openpoke/decidim-module-alternative_landing/actions/workflows/lint.yml/badge.svg )] ( https://github.com/openpoke/decidim-module-alternative_landing/actions/workflows/lint.yml )
4+ [ ![ [ CI] Test] ( https://github.com/openpoke/decidim-module-alternative_landing/actions/workflows/test.yml/badge.svg )] ( https://github.com/openpoke/decidim-module-alternative_landing/actions/workflows/test.yml )
5+ [ ![ codecov] ( https://codecov.io/gh/openpoke/decidim-module-alternative_landing/graph/badge.svg?token=66Bj9xYLjv )] ( https://codecov.io/gh/openpoke/decidim-module-alternative_landing )
6+ [ ![ Maintainability] ( https://qlty.sh/gh/openpoke/projects/decidim-module-alternative_landing/maintainability.svg )] ( https://qlty.sh/gh/openpoke/projects/decidim-module-alternative_landing )
67
78This module provides alternative and additional content blocks for the Decidim Homepage and Process Groups homepages.
89
@@ -24,39 +25,28 @@ We welcome PR with additional content blocks that can expand similar functionali
2425Add this line to your application's Gemfile:
2526
2627``` ruby
27- gem " decidim-alternative_landing" , git: " https://github.com/Platoniq /decidim-module-alternative_landing"
28+ gem " decidim-alternative_landing" , git: " https://github.com/openpoke /decidim-module-alternative_landing"
2829```
2930
3031And then execute:
3132
32- ``` bash
33- bundle
34- bundle exec rails decidim_alternative_landing:webpacker:install
3533```
36-
37- ### Upgrade from 0.2.x to 0.3.x
38-
39- As decidim renamed its ` upcoming_meetings ` to ` upcoming_events ` in the 0.25 version, if you are upgrading from an
40- alternative landing version prior to 0.3 you need to run a task to change the manifest name of the content blocks with
41- this manifest.
42-
43- You just need to download and run the task below ** before deploying your application to 0.25.x and above** by connecting
44- to the server you are going to upgrade:
45-
46- ``` bash
47- wget https://raw.githubusercontent.com/Platoniq/decidim-module-alternative_landing/release/0.26-stable/lib/tasks/alternative_landing_rename_upcoming_meetings.rake -P lib/tasks
48- bundle exec rake alternative_landing:rename_upcoming_meetings:up
34+ bundle
35+ bin/rails decidim:upgrade
36+ bin/rails db:migrate
4937```
5038
51- If you need to undo the changes made you can run:
52-
53- ``` bash
54- bundle exec rake alternative_landing:rename_upcoming_meetings:down
55- ```
39+ > ** EXPERTS ONLY**
40+ >
41+ > Under the hood, when running ` bundle exec rails decidim:upgrade ` the ` decidim-alternative_landing ` gem will run the following two tasks (that can also be run manually if you consider):
42+ >
43+ > ``` bash
44+ > bin/rails decidim_alternative_landing:install:migrations
45+ > ` ` `
5646
5747# # Contributing
5848
59- See [ Decidim] ( https://github.com/Platoniq /decidim-module-alternative_landing ) .
49+ See [Decidim](https://github.com/openpoke /decidim-module-alternative_landing).
6050
6151# ## Developing
6252
0 commit comments