WordPress boilerplate with Composer, easier configuration, and an improved folder structure, ready for setup with Laravel Herd App
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)
See the Bedrock installation documentation.
git clone [email protected]:mmoollllee/bedrock.git ~/Herd/example
cd example
git remote rename origin bedrock
git remote add origin [email protected]:mmoollllee/example.com.git
git branch -M master
git push -u origin master
sh setup.sh- Set your servers hostname in deploy.php
- Add your SSH key to the server
- Add your Servers SSH key to your private Github Repository
- run
dep deploy prodand follow - set the http root to
deploy-path/current/web
This branch from roots/bedrock
git merge bedrock/master --no-commit --no-ff
Other project from this branch
git remote add bedrock [email protected]:mmoollllee/bedrock.git
git fetch bedrock
git merge bedrock/master --no-commit --no-ff --allow-unrelated-historiesKeep track of development and community news.
- 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