Local environment to develop Wordpress themes.
The Wordpress environment is based on the oficial wordpress docker image.
Webpack builds js and scss files, so you can build your files and it is mounted to the docker container, so you have a live development environment.
To start building js and scss files run:
$ npm run start
To build your theme run:
$ npm run build
To start the containers, run:
$ docker-compose up -d
You may want destroy it to get a clean installation. To do it run:
$ docker-compose down -v
This is supposed to remove the containers and volumes.
- Dynamic theme name
- Fix theme build