Make sure Docker is running before you start. Commands will fail if Docker is not active.
src/theme/ - PHP/HTML template files for the WordPress theme.src/plugins/ - Custom WordPress plugins.src/assets/css/ - CSS stylesheets.src/assets/fonts/ - Font files.src/assets/img/ - Image assets.src/assets/js/ - JavaScript files.Configuration files, Docker files, and build scripts live in the project root.
Rename .env_example to .env and set your theme name:
# If you want to connect to BrowserSync on a different port. Default: 3010
PROXY_PORT=3010
# Theme name. Default: "wordpressify"
THEME_NAME=wordpressifyThis name is used for the theme directory in WordPress and in the exported zip file.
npm run startIf Node.js is not installed locally, use Docker directly:
docker compose upTo rebuild with a fresh WordPress installation and clean database:
npm run rebuildWithout local Node.js:
docker compose down -v && docker compose buildPlace custom plugins in the src/plugins/ directory. They are automatically copied into the WordPress plugins folder during the build.
Generate optimized distribution files:
npm run exportWithout local Node.js:
docker compose run --rm nodejs npm run prodThe theme is saved as a zip file in dist/wordpressify.zip.