Skip to content
forked from roots/bedrock

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure. Based on Bedrock by roots.io

Notifications You must be signed in to change notification settings

drewrawitz/wp-stack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

242 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordpress Boilerplate

This is a modern WordPress stack that helps you get started with the best development tools and project structure. This stack is heavily based on Bedrock.

Features

  • 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)

Requirements

Install with Ansible

Follow the WP-Ansible Installation Instructions and just clone this repo as the site folder.

Standalone Install

  1. Clone the git repo - git clone https://github.com/drewrawitz/wp-stack.git
  2. Run composer install
  3. Copy .env.example to .env and update environment variables:
  • DB_NAME - Database name
  • DB_USER - Database user
  • DB_PASSWORD - Database password
  • DB_HOST - Database host
  • WP_ENV - Set to environment (development, staging, production)
  • WP_HOME - Full URL to WordPress home (http://example.com)
  • WP_SITEURL - Full URL to WordPress including subdirectory (http://example.com/wp)
  1. Add theme(s) in web/app/themes as you would for a normal WordPress site.
  2. Set your site vhost document root to /path/to/site/web/ (/path/to/site/current/web/ if using deploys)
  3. Access WP admin at http://example.com/wp/wp-admin

Documentation

For more detailed documentation, go to the Bedrock GitHub Page or the Bedrock Wiki.

About

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure. Based on Bedrock by roots.io

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%