Adds support for Webtools location services in Drupal.
This repository has been deprecated in favor of the OpenEuropa Webtools component, all the functionality that was available in this repository will continue to be supported there instead.
This is a Drupal module that provides integration with Webtools location services, such as geocoding and maps.
Table of contents:
- Supported services
- Development setup
- Running tests
The different Webtools location services are placed in submodules. This allows you do only enable the submodules for the services you actually need. Currently the following services are supported:
This depends on the following software:
- Install the package and its dependencies:
composer require openeuropa/oe_webtools_location
If you want to use the Webtools Geocoding service, enable the submodule:
drush en oe_webtools_geocoding
You can build a local development environment by executing the following steps:
Step 1: Install dependencies
Step 2: Configure the environment
runner.yml and change the configuration to match
your local environment. Typically you will need to specify
localhost as your
database host, and change your base URL and database credentials.
Step 3: Install
Your test site will be available at
Docker provides the necessary services and tools such as a web server and a database server to get the site running, regardless of your local host configuration.
By default, Docker Compose reads two files, a
docker-compose.yml and an optional
By convention, the
docker-compose.yml contains your base configuration and it's provided by default.
The override file, as its name implies, can contain configuration overrides for existing services or entirely new
If a service is defined in both files, Docker Compose merges the configurations.
Find more information on Docker Compose extension mechanism on the official Docker Compose documentation.
To start, run:
It's advised to not daemonize
docker-compose so you can turn it off (
CTRL+C) quickly when you're done working.
However, if you'd like to daemonize it, you have to add the flag
docker-compose up -d
docker-compose exec web composer install docker-compose exec web ./vendor/bin/run drupal:site-install
Using default configuration, the development site files should be available in the
build directory and the development site
should be available at: http://127.0.0.1:8080/build.
docker-compose exec web ./vendor/bin/grumphp run
docker-compose exec web ./vendor/bin/phpunit
Please read the full documentation for details on our code of conduct, and the process for submitting pull requests to us.