Enable bundled plugins, related to #490

This commit is contained in:
Disassembler 2021-01-16 20:32:12 +01:00
parent 88893abc50
commit 53141556f7
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
5 changed files with 16 additions and 7 deletions

View File

@ -1,5 +1,5 @@
{ {
"version": "0.23.1-210110", "version": "0.23.1-210116",
"meta": { "meta": {
"title": "Decidim", "title": "Decidim",
"desc-cs": "Platforma pro účast občanů", "desc-cs": "Platforma pro účast občanů",
@ -8,7 +8,7 @@
}, },
"containers": { "containers": {
"decidim": { "decidim": {
"image": "decidim_0.23.1-210110", "image": "decidim_0.23.1-210116",
"depends": [ "depends": [
"decidim-postgres" "decidim-postgres"
], ],

View File

@ -1,4 +1,4 @@
IMAGE decidim_0.23.1-210110 IMAGE decidim_0.23.1-210116
FROM decidim-nginx_1.18.0-210106 FROM decidim-nginx_1.18.0-210106
# https://github.com/Platoniq/decidim-install/blob/master/decidim-bionic.md # https://github.com/Platoniq/decidim-install/blob/master/decidim-bionic.md

View File

@ -5,9 +5,10 @@ source "https://rubygems.org"
ruby RUBY_VERSION ruby RUBY_VERSION
gem "decidim", "0.23.1" gem "decidim", "0.23.1"
# gem "decidim-consultations", "0.23.1" gem "decidim-conferences", "0.23.1"
# gem "decidim-initiatives", "0.23.1" gem "decidim-consultations", "0.23.1"
# gem "decidim-templates", "0.23.1" gem "decidim-initiatives", "0.23.1"
gem "decidim-templates", "0.23.1"
gem "bootsnap", "~> 1.3" gem "bootsnap", "~> 1.3"

View File

@ -5,7 +5,7 @@ set -ev
POSTGRES_DATA="${VOLUMES_DIR}/decidim/postgres_data" POSTGRES_DATA="${VOLUMES_DIR}/decidim/postgres_data"
DECIDIM_CONF="${VOLUMES_DIR}/decidim/decidim_conf" DECIDIM_CONF="${VOLUMES_DIR}/decidim/decidim_conf"
DECIDIM_DATA="${VOLUMES_DIR}/decidim/decidim_data" DECIDIM_DATA="${VOLUMES_DIR}/decidim/decidim_data"
DECIDIM_LAYER="${LAYERS_DIR}/decidim_0.23.1-210110" DECIDIM_LAYER="${LAYERS_DIR}/decidim_0.23.1-210116"
# Create Postgres instance # Create Postgres instance
install -o 105432 -g 105432 -m 700 -d ${POSTGRES_DATA} install -o 105432 -g 105432 -m 700 -d ${POSTGRES_DATA}
@ -34,6 +34,10 @@ envsubst <decidim_conf/application.yml | install -o 108080 -g 108080 -m 640 /dev
# Populate database # Populate database
spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim:upgrade' spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim:upgrade'
spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails generate delayed_job:active_record' spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails generate delayed_job:active_record'
spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim_conferences:install:migrations'
spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim_consultations:install:migrations'
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_calendar: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_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_ldap:install:migrations'

View File

@ -6,6 +6,10 @@ spoc-container start decidim-postgres
# Run database migration # Run database migration
spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim:upgrade' spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim:upgrade'
spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim_conferences:install:migrations'
spoc-container exec -u 8080 -g 8080 decidim -- sh -c 'cd /srv/decidim-app; bin/rails decidim_consultations:install:migrations'
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_calendar: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_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_ldap:install:migrations'