Skip to content

BONSAMURAIS/bonsai-wp

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

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 Worksite Safety Itineris

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)
  • Enhanced security (separated web root and secure passwords with wp-password-bcrypt)

Getting Started

See the Bedrock installation documentation.

PHP & MySQL version

  • PHP 8.2
  • MySQL >= 9.2.0

Installation

  1. Navigate to your project using the terminal (Warp, terminal or Command prompt).
  2. Use the command: composer install
  3. Then navigate to the bonsai theme folder.
  4. Use the command: npm install
  5. Connect to the live database and export all tables.
  6. Create a local database and import all the tables into it.
  7. Update your .env file with your information for the current database.

Stay Connected

About

Aalborg Universitet

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •