WordPress plugin to create an app showcase of OpenData-projects
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
languages
post-types
.gitignore
.gitlab-ci.yml
.travis.yml
LICENSE.txt
README.md
app-showcase.php
build.sh
code_standard.xml
compile_translation_files.sh
composer.json
composer.lock
extract_messages.sh

README.md

wp-app-showcase

Build Status

WordPress plugin to create an app showcase of OpenData-projects

Requirements

  • CMB2 plugin must be installed

Installation

Just activate the plugin in the WordPress plugin administration.

If you have the wp-ckan-backend plugin activated in your instance you will automatically get an autocomplete feature to select related datasets while creating/editing apps.

Development

  1. Install composer if it isn't installed system wide:

    $ curl -sS https://getcomposer.org/installer | php
    
  2. Run php composer.phar install to install dependencies

  3. add wordpress-standard to phpcs: ./bin/phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs

To check the code style, run the build script:

$ ./build.sh

This script runs on Travis CI as well for every push.

Extract messages / Compile translation files

Run the following script to extract messages from php-files and generate a new wp-ogdch-theme.pot file:

$ ./extract_messages.sh

To compile all .po files to .mo files use the following script:

$ ./compile_translation_files.sh