municipio / municipio-boilerplate-standard
Boilerplate for a standard setup of Wordpress with Municipio
Installs: 111
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 13
Forks: 0
Open Issues: 0
Type:project
Requires
This package is auto-updated.
Last update: 2024-11-30 01:50:58 UTC
README
Boilerplate for a standard setup of Wordpress with Municipio
How to install
- Create project with Composer
composer create-project municipio/municipio-boilerplate-standard <folder>
- Update package name, author and description in composer.json and package.json.
- Duplicate all example files in /config and update them to match your setup.
- Create your empty database.
- Run
valet link
. - Run
valet open
and then the Wordpress install wizard.
Install and activate ACF Pro
- Create a .env file and add your ACF Pro key.
- Install ACF Pro:
composer require "advanced-custom-fields/advanced-custom-fields-pro":"*"
- Activate the ACF Pro plugin:
wp plugin activate advanced-custom-fields-pro
Format code using Prettier
- Run
yarn install
to install Prettier. - Run
yarn format
to format all applicable files. - Install a sutiable Prettier plugin for you aditor to format files automatically on save.
- Also install the Editorconfig for your editor to format files not supported by Prettier.