Skip to content

Commit

Permalink
Merged in feature/readme (pull request #8)
Browse files Browse the repository at this point in the history
Update Readme.md

Approved-by: Richard Korthuis
  • Loading branch information
eyalacato authored and richardkorthuis committed Dec 5, 2024
2 parents b729e31 + 9a3279c commit 4474bb3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
16 changes: 11 additions & 5 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ In all scenarios the OpenKaarten Geodata plugin needs to have the following inst
* [CMB2](https://wordpress.org/plugins/cmb2/)
* [OpenKaarten Geodata](https://github.com/OpenWebconcept/plugin-openkaarten-geodata-for-posts)

Furthermore, the OpenKaarten Base plugin needs a package with base functions to be installed. This package can be installed via composer (see instructions further on) and is called:

* [OpenKaarten Base Functions](https://github.com/OpenWebconcept/package-owc-openkaarten-functions/)

With this installed you can use the OpenKaarten Geodata plugin in your WordPress website.

If you chose for option 2 (new WordPress installation), you will probably need to install a WordPress theme. Since the OpenKaarten plugin is a REST API, it can be used in any WordPress theme.
Expand All @@ -45,11 +49,13 @@ At this point manual installation is not supported, because of composer dependen

### Composer installation

1. `composer source [email protected]:OpenWebconcept/plugin-openkaarten-geodata-for-posts.git`
2. `composer require acato/openkaarten-geodata-for-posts`
3. `cd /wp-content/plugins/openkaarten-geodata-for-posts`
4. `npm install && npm run build`
5. Activate the OpenKaarten Geodata Plugin through the 'Plugins' menu in WordPress.
1. `composer source [email protected]:OpenWebconcept/package-owc-openkaarten-functions.git`
2. `composer require acato/openkaarten-base-functions`
3. `composer source [email protected]:OpenWebconcept/plugin-openkaarten-geodata-for-posts.git`
4. `composer require acato/openkaarten-geodata-for-posts`
5. `cd /wp-content/plugins/openkaarten-geodata-for-posts`
6. `npm install && npm run build`
7. Activate the OpenKaarten Geodata Plugin through the 'Plugins' menu in WordPress.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion plugin-openkaarten-geodata-for-posts.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
die;
}

define( 'OWC_OPENKAARTEN_GEODATA_VERSION', '0.1.2' );
define( 'OWC_OPENKAARTEN_GEODATA_VERSION', '0.1.0' );

if ( ! defined( 'OWC_OPENKAARTEN_GEODATA_ABSPATH' ) ) {
define( 'OWC_OPENKAARTEN_GEODATA_ABSPATH', plugin_dir_path( __FILE__ ) );
Expand Down

0 comments on commit 4474bb3

Please sign in to comment.