Bump Decidim to 0.20.0 + install imagick
This commit is contained in:
parent
76bef22633
commit
6aa4eb7778
@ -1,3 +1,2 @@
|
||||
user = Decidim::System::Admin.new(email: "${DECIDIM_ADMIN_EMAIL}", password: "${DECIDIM_ADMIN_PWD}", password_confirmation: "${DECIDIM_ADMIN_PWD}")
|
||||
user.save!
|
||||
Decidim::System::Admin.create!(email: "${DECIDIM_ADMIN_EMAIL}", password: "${DECIDIM_ADMIN_PWD}", password_confirmation: "${DECIDIM_ADMIN_PWD}")
|
||||
quit
|
||||
|
@ -101,4 +101,4 @@ Rails.application.configure do
|
||||
|
||||
# Do not dump schema after migrations.
|
||||
config.active_record.dump_schema_after_migration = false
|
||||
end
|
||||
end
|
||||
|
@ -122,7 +122,7 @@ Decidim.configure do |config|
|
||||
# api_key: Rails.application.secrets.etherpad[:api_key],
|
||||
# api_version: Rails.application.secrets.etherpad[:api_version]
|
||||
# }
|
||||
end
|
||||
end
|
||||
|
||||
Rails.application.config.i18n.available_locales = Decidim.available_locales
|
||||
Rails.application.config.i18n.default_locale = Decidim.default_locale
|
||||
Rails.application.config.i18n.available_locales = Decidim.available_locales
|
||||
Rails.application.config.i18n.default_locale = Decidim.default_locale
|
||||
|
@ -4,13 +4,13 @@ source "https://rubygems.org"
|
||||
|
||||
ruby RUBY_VERSION
|
||||
|
||||
gem "decidim", "0.19.0"
|
||||
# gem "decidim-consultations", "0.19.0"
|
||||
# gem "decidim-initiatives", "0.19.0"
|
||||
gem "decidim", "0.20.0"
|
||||
# gem "decidim-consultations", "0.20.0"
|
||||
# gem "decidim-initiatives", "0.20.0"
|
||||
|
||||
gem "bootsnap", "~> 1.3"
|
||||
|
||||
gem "puma", "~> 3.12"
|
||||
gem "puma", "~> 3.12.2"
|
||||
gem "uglifier", "~> 4.1"
|
||||
|
||||
gem "faker", "~> 1.9"
|
||||
@ -18,7 +18,7 @@ gem "faker", "~> 1.9"
|
||||
group :development, :test do
|
||||
gem "byebug", "~> 11.0", platform: :mri
|
||||
|
||||
gem "decidim-dev", "0.19.0"
|
||||
gem "decidim-dev", "0.20.0"
|
||||
end
|
||||
|
||||
group :development do
|
||||
|
@ -1,4 +1,4 @@
|
||||
IMAGE decidim_0.0.1-191113
|
||||
IMAGE decidim_0.20.0-191113
|
||||
FROM alpine3.9-ruby2.6_2.6.3-190620
|
||||
|
||||
# https://github.com/Platoniq/decidim-install/blob/master/decidim-bionic.md
|
||||
@ -8,7 +8,7 @@ ENV RAILS_ENV production
|
||||
|
||||
RUN EOF
|
||||
# Install runtime dependencies
|
||||
apk --no-cache add curl libpq nodejs pcre procps tzdata
|
||||
apk --no-cache add curl imagemagick libpq nodejs pcre procps tzdata
|
||||
|
||||
# Install build dependencies
|
||||
apk --no-cache add --virtual .deps build-base curl-dev icu-dev libxml2-dev libxslt-dev linux-headers pcre-dev postgresql-dev zlib-dev
|
||||
@ -49,7 +49,6 @@ RUN EOF
|
||||
rm -f /etc/nginx/*.default
|
||||
|
||||
# Install Decidim
|
||||
gem install bundler:1.17.3
|
||||
bundle config build.nokogiri --use-system-libraries
|
||||
gem install decidim
|
||||
cd /srv
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "0.0.1-191113",
|
||||
"version": "0.20.0-191113",
|
||||
"meta": {
|
||||
"title": "Decidim",
|
||||
"desc-cs": "Platforma pro účast občanů",
|
||||
@ -8,7 +8,7 @@
|
||||
},
|
||||
"containers": {
|
||||
"decidim": {
|
||||
"image": "decidim_0.0.1-191113",
|
||||
"image": "decidim_0.20.0-191113",
|
||||
"depends": [
|
||||
"decidim-postgres"
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user