Install WordPressify
Requires Node.js 12.20 or later. Docker must be installed and running before running WordPressify.
Create a new directory for your project and scaffold it:
mkdir my-theme && cd my-theme
npx wordpressifyThis copies the full file structure into your directory. There is no npm install step: dependencies are installed inside the Docker containers when they are first built.
To skip the confirmation prompt, use the -y (or --non-interactive) flag:
npx wordpressify -yClone the repository from GitHub:
git clone https://github.com/luangjokaj/wordpressify
cd wordpressifyReplace the root package.json with the one from the installer directory, then install dependencies:
cp ./installer/package.json ./package.json
npm installThe installer's package.json contains the correct scripts and dependencies for development. The root one is for publishing the npm package.
Update an Existing Project
To update the core WordPressify files (Docker, build pipeline, configs) without touching your src/ folder or dependencies:
npx wordpressify updateThis overwrites infrastructure files like docker-compose.yml, gulpfile.js, Dockerfiles, and linting configs. It also updates the scripts section in your package.json while preserving your dependencies.
To skip the confirmation prompt, use the -y (or --non-interactive) flag:
npx wordpressify update -yNext: Start Project
Set up your theme name and start the dev server.