git clone git@github.com:mattneal-stafflink/traction.git && cd traction && code .
cmd+shift+f and search/replace bedrocktraction
with your websites' domain name. For example, if your domain is stafflink.com.au
, replace bedrocktraction
with stafflink
.
Add your credentials for Satispress to the .auth.json.example
and remove the .example
extension from this file.
Generate Salts for your .lando.env
environment variables file. https://roots.io/salts.html
lando start
If you want to install our plugins, run lando install-plugins
.
Create an mu-plugin for Gravityforms hooks and use this: https://github.com/basmiddelham/gravityforms-bootstrap-styling If you're using Bootstrap, don't forget to add the SCSS.
https://github.com/Log1x/acf-composer
WordPress boilerplate with Composer, easier configuration, and an improved folder structure
Website Documentation Releases Community
Bedrock is an open source project and completely free to use. If you've benefited from our projects and would like to support our future endeavors, please consider sponsoring Roots.
Bedrock is a WordPress boilerplate for developers that want to manage their projects with Git and Composer. Much of the philosophy behind Bedrock is inspired by the Twelve-Factor App methodology, including the WordPress specific version.
- Better folder structure
- Dependency management with Composer
- Easy WordPress configuration with environment specific files
- Environment variables with Dotenv
- Autoloader for mu-plugins (use regular plugins as mu-plugins)
- Enhanced security (separated web root and secure passwords with wp-password-bcrypt)
See the Bedrock installation documentation.
- Join us on Discord by sponsoring us on GitHub
- Participate on Roots Discourse
- Follow @rootswp on Twitter
- Read the Roots Blog
- Subscribe to the Roots Newsletter