Thanks to visit codestin.com
Credit goes to github.com

Skip to content
forked from roots/bedrock

WordPress bedrock boilerplate for ready for Laravel Herd, Deployer and with some custom themes and plugins

License

Notifications You must be signed in to change notification settings

mmoollllee/bedrock

 
 

Repository files navigation

Bedrock

Packagist Installs roots/wordpress Packagist Downloads Build Status Follow Roots

WordPress boilerplate with Composer, easier configuration, and an improved folder structure, ready for setup with Laravel Herd App

Website    Documentation    Releases    Community

Sponsors

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.

Carrot WordPress.com Itineris Bonsai

Overview

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)

Getting Started

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

Deploy

  • 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 prod and follow
  • set the http root to deploy-path/current/web

Update

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-histories

Community

Keep track of development and community news.

Stay Connected

About

WordPress bedrock boilerplate for ready for Laravel Herd, Deployer and with some custom themes and plugins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 49.9%
  • PHP 25.6%
  • HTML 16.9%
  • CSS 6.9%
  • SCSS 0.6%
  • Shell 0.1%