- Node >= 12
$ npm install$ npm run buildYou will find all plugin assets in /dist
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 environmentAnd finally if you need to shutdown the services run:
$ npm run dev:kill # simply stops the docker environment