Skip to content

podlove/podlove-web-player-wp-plugin

Repository files navigation

Podlove Web Player 5 Wordpress Plugin

Requirements

  • Node >= 12

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:

  • user: admin
  • password: admin

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