podlove / podlove-web-player-wp-plugin

WordPress plugin integrating the Podlove Web Player
https://wordpress.org/plugins/podlove-web-player/
6 stars 2 forks source link

Podlove Web Player 5 Wordpress Plugin

Requirements

Bootstrap

$ npm install

Build

$ npm run build

You will find all plugin assets in /dist

Development

To develop the Wordpress Plugin a dedicated wordress environment can be created by running:

$ npm run dev:init # bootstraps a dockerized wordpress, see compose files in /docker
$ npm run dev # file watchers that copies the php and javascript sources 

Afterwards you should be able to access the development instance at http://localhost:8080. If you need to change the route you can configure the development environment in a docker-compose file located at docker/dev.yml. Login credentials for administration area:

To persist ad stop the current development state simply run:

$ npm run dev:save # persists database to database.sql and stops the docker environment

And finally if you need to shutdown the services run:

$ npm run dev:kill # simply stops the docker environment