From 667354a1585707fc79175aa513b47402f36d4a43 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Mon, 18 Jan 2021 17:58:14 +0100 Subject: [PATCH] Enable Decidim comparative_stats module, relates to #490 --- lxc-apps/decidim/app | 4 ++-- lxc-apps/decidim/decidim.image | 2 +- lxc-apps/decidim/decidim.image.d/srv/decidim-app/Gemfile | 4 ++-- lxc-apps/decidim/install.sh | 3 ++- lxc-apps/decidim/update.sh | 1 + 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/lxc-apps/decidim/app b/lxc-apps/decidim/app index f68218b..2122ee7 100644 --- a/lxc-apps/decidim/app +++ b/lxc-apps/decidim/app @@ -1,5 +1,5 @@ { - "version": "0.23.1-210116", + "version": "0.23.1-210118", "meta": { "title": "Decidim", "desc-cs": "Platforma pro účast občanů", @@ -8,7 +8,7 @@ }, "containers": { "decidim": { - "image": "decidim_0.23.1-210116", + "image": "decidim_0.23.1-210118", "depends": [ "decidim-postgres" ], diff --git a/lxc-apps/decidim/decidim.image b/lxc-apps/decidim/decidim.image index c84f8b5..3794af3 100644 --- a/lxc-apps/decidim/decidim.image +++ b/lxc-apps/decidim/decidim.image @@ -1,4 +1,4 @@ -IMAGE decidim_0.23.1-210116 +IMAGE decidim_0.23.1-210118 FROM decidim-nginx_1.18.0-210106 # https://github.com/Platoniq/decidim-install/blob/master/decidim-bionic.md diff --git a/lxc-apps/decidim/decidim.image.d/srv/decidim-app/Gemfile b/lxc-apps/decidim/decidim.image.d/srv/decidim-app/Gemfile index 7a59e6e..d9c1c82 100644 --- a/lxc-apps/decidim/decidim.image.d/srv/decidim-app/Gemfile +++ b/lxc-apps/decidim/decidim.image.d/srv/decidim-app/Gemfile @@ -46,10 +46,10 @@ end # gem "decidim-antivirus", git: "https://github.com/mainio/decidim-module-antivirus" # Supported until 0.22.0 # gem "decidim-budgets_enhanced", git: "https://github.com/OpenSourcePolitics/decidim-module-budgets_enhanced", branch: "0.22-dev" # Supported until 0.19.0, development branch exists up to 0.22.0 gem "decidim-calendar", git: "https://github.com/alabs/decidim-module-calendar" -# gem "decidim-comparative_stats", git: "https://github.com/Platoniq/decidim-module-comparative_stats" # Supported until 0.21.0, installable but fail assets:precompile +gem "decidim-comparative_stats", git: "https://github.com/Platoniq/decidim-module-comparative_stats" # gem "decidim-cookies", git: "https://github.com/OpenSourcePolitics/decidim-module_cookies" # Supported until 0.21.0 gem "decidim-decidim_awesome", git: "https://github.com/Platoniq/decidim-module-decidim_awesome" -# gem "decidim-department_admin", git: "https://github.com/gencat/decidim-department-admin" # Supported until 0.16.0 +# gem "decidim-department_admin", git: "https://github.com/gencat/decidim-department-admin" # Supported until 0.21.0 gem "decidim-direct_verifications", git: "https://github.com/Platoniq/decidim-verifications-direct_verifications" # gem "decidim-favorites", git: "https://github.com/mainio/decidim-module-favorites" # Required by plans gem "decidim-ldap", git: "https://github.com/diputacioBCN/decidim-diba", glob: "decidim-ldap/decidim-ldap.gemspec" diff --git a/lxc-apps/decidim/install.sh b/lxc-apps/decidim/install.sh index 8bca5fe..b6c6568 100755 --- a/lxc-apps/decidim/install.sh +++ b/lxc-apps/decidim/install.sh @@ -5,7 +5,7 @@ set -ev POSTGRES_DATA="${VOLUMES_DIR}/decidim/postgres_data" DECIDIM_CONF="${VOLUMES_DIR}/decidim/decidim_conf" DECIDIM_DATA="${VOLUMES_DIR}/decidim/decidim_data" -DECIDIM_LAYER="${LAYERS_DIR}/decidim_0.23.1-210116" +DECIDIM_LAYER="${LAYERS_DIR}/decidim_0.23.1-210118" # Create Postgres instance install -o 105432 -g 105432 -m 700 -d ${POSTGRES_DATA} @@ -39,6 +39,7 @@ spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/r spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim_initiatives:install:migrations' spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim_templates:install:migrations' spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim_calendar:install:migrations' +spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim_comparative_stats:install:migrations' spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim_decidim_awesome:install:migrations' spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim_ldap:install:migrations' spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim_navbar_links:install:migrations' diff --git a/lxc-apps/decidim/update.sh b/lxc-apps/decidim/update.sh index fb4abb9..b39e5f8 100755 --- a/lxc-apps/decidim/update.sh +++ b/lxc-apps/decidim/update.sh @@ -11,6 +11,7 @@ spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/r spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim_initiatives:install:migrations' spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim_templates:install:migrations' spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim_calendar:install:migrations' +spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim_comparative_stats:install:migrations' spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim_decidim_awesome:install:migrations' spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim_ldap:install:migrations' spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim_navbar_links:install:migrations'