Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1009 Bytes

HOMEPAGE_INTERACTIVE_MAP.md

File metadata and controls

42 lines (32 loc) · 1009 Bytes

Module Homepage Interactive Map

This module displays an interactive map on homepage.

Getting started

  1. Install module
bundle install
  1. Install webpacker dependencies
bundle exec rake decidim_homepage_interactive_map:webpacker:install
  1. 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
  1. 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 !