Skip to content

Commit

Permalink
fix: don't depends on voca gem
Browse files Browse the repository at this point in the history
  • Loading branch information
Hadrien Froger committed Mar 6, 2024
1 parent be84eeb commit 2909d30
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
1 change: 0 additions & 1 deletion config/credentials.yml.enc

This file was deleted.

13 changes: 13 additions & 0 deletions config/initializers/vanilla.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Prepare vanilla decidim installation
if Gem.loaded_specs.has_key?('voca')
::Decidim::Voca.configure do |config|
config.on(:before_setup_db) do
system("bundle exec rails decidim_decidim_awesome:install:migrations")
system("bundle exec rails decidim_term_customizer:install:migrations")
end

config.on(:before_compile_assets) do
system("bundle exec rails decidim_decidim_awesome:webpacker:install")
end
end
end
3 changes: 0 additions & 3 deletions config/voca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,3 @@ voca:
branch: "release/0.27-stable"
decidim-sitemaps:
git: "https://git.fpfis.tech.ec.europa.eu/future-of-europe/digit-cofe-libraries/digit-cofe-sitemap.git"
decidim-voca:
git: 'https://git.octree.ch/decidim/vocacity/tasks.git'
branch: 'release/0.26-stable'

0 comments on commit 2909d30

Please sign in to comment.