This module displays an interactive map on homepage.
- Install module
bundle install
- Install webpacker dependencies
bundle exec rake decidim_homepage_interactive_map:webpacker:install
- Install
proj
dependencies
OSX using Homebrew
brew install proj
bundle config set build.rgeo-proj4 --with-proj-dir="/opt/homebrew/"
bundle pristine rgeo-proj4
bundle install
Ubuntu
sudo apt update && sudo apt install libproj-dev proj-bin -y
PROJ_DIR=$(which proj) bundle config set build.rgeo-proj4 --with-proj-dir="${PROJ_DIR%proj}"
bundle pristine rgeo-proj4
bundle install
- Repair data if already defined
bundle exec rake decidim_homepage_interactive_map:check_for_repair
bundle exec rake decidim_homepage_interactive_map:repair_data
🚀 Interactive map should be completely available in your Decidim-app !