1
0
Fork 0
mirror of https://github.com/OpenWebconcept/plugin-datainmap.git synced 2026-03-14 17:13:11 +01:00
Data In Map is a WordPress plugin for displaying maps.
  • JavaScript 49.1%
  • PHP 37%
  • SCSS 13.9%
Find a file
2026-03-12 15:29:40 +01:00
.github/workflows Do not load ol.css via React, but as a regular stylesheet (WordPress style) 2026-03-12 15:08:39 +01:00
plugins/gh-datainmap Version 1.12.2 2026-03-12 15:28:23 +01:00
src Do not load ol.css via React, but as a regular stylesheet (WordPress style) 2026-03-12 15:08:39 +01:00
.gitignore .gitignore update 2023-01-03 14:20:23 +01:00
CHANGELOG.md Version 1.12.2 2026-03-12 15:28:23 +01:00
docker-compose.yml MySQL 8 image for docker 2023-01-03 14:03:55 +01:00
LICENSE.txt EUPL licentie toegevoegd 2020-02-26 13:54:54 +01:00
package-lock.json Version 1.12.2 2026-03-12 15:28:23 +01:00
package.json Version 1.12.2 2026-03-12 15:28:23 +01:00
publiccode.yaml Create publiccode.yaml (#5) 2022-11-22 14:45:02 +01:00
README.md Do not load ol.css via React, but as a regular stylesheet (WordPress style) 2026-03-12 15:08:39 +01:00
webpack.config.js Updated copyright date 2025-03-20 11:23:17 +01:00

Data In Map

Build

Data In Map is a WordPress plugin for displaying maps.

Changelog

A (Dutch) changelog is being kept at CHANGELOG.MD

Install

For developers

Building

$ npm install
$ npm run css-ol
$ npm run css-prod
$ npm run webpack-prod
$ npm run composer

Then, install in a WordPress environment or for local development use the provided docker-compose.yml file and run $ docker-compose up from the main directory.

Updating POT

Using the provided docker-compose.yml file run:

$ docker-compose run --user 33 -e HOME=/tmp --rm wpcli i18n make-pot ./wp-content/plugins/gh-datainmap ./wp-content/plugins/gh-datainmap/languages/gh-datainmap.pot --domain=gh-datainmap --skip-js

Creating a new release

Before tagging a new release make sure the version number is being updated in the following files:

  • package.json
  • gh-datainmap.php
  • CHANGELOG.md

A GitHub Action workflow called Release is being run for every new tag and packages up the distribution file.

For production

Download a pre-packaged GitHub release. After installation you can follow the configuration steps in the provided documentation (locate it in your WordPress admin menu).