GWP - General Wordpress Implementaion
GWP is a modern WordPress stack that helps you get started with the best development tools and project structure.
Much of the philosophy behind GWP is inspired by the Bedrock and Twelve-Factor App methodology including the WordPress specific version.
Features
- Better folder structure
- Dependency management with Composer
- Easy WordPress configuration with environment specific files
- Better deployment workflow with Phing
Requirements
Prerequisite | How to check | How to install |
---|---|---|
PHP >= 5.3.x | php -v |
php.net |
Composer @latest | compoaser -v |
composer.org |
Installation
- Create new project using composer :
composer create-project hyyan/gwp:dev-master /path
- Update
.env.local
to meet your local environment variables. - Register your local maching name in the `config/environment.php file
- Geneate apache .htaccess file :
bin/phing gwp:apache-htaccess -D apache-htaccess.dir=.
- Add theme(s) in
web/app/themes
as you would for a normal WordPress site. - Access WP admin at
http://example.com/cms/wp-admin
Documentaion
Contributing
Everyone is welcome to help contribute and improve this project. There are several ways you can contribute:
- Reporting issues (please read issue guidelines)
- Suggesting new features
- Writing or refactoring code
- Fixing issues