dnaber / wpstarter-boilerplate
This package is abandoned and no longer maintained.
The author suggests using the inpsyde/wpstarter-boilerplate package instead.
Common basic configuration for a WordPress site using Composer and WPStarter
Package info
github.com/inpsyde/wpstarter-boilerplate
Type:project
pkg:composer/dnaber/wpstarter-boilerplate
dev-master
2020-10-16 15:46 UTC
Requires
- roots/wordpress: ^5.5
- wecodemore/wpstarter: ^3
This package is auto-updated.
Last update: 2020-10-16 15:47:27 UTC
README
Bootstraping a new website application with WordPress based on WPStarter.
Usage
Fetching the boilerplate via composer to a new directory (my-website):
$ composer create-project inpsyde/wpstarter-boilerplate:dev-master my-website
You will get asked if you want to remove the existing git history. Answer with yes (Y) as you're about to start a new project.
That will give you the following directory structure:
[my-website]
├ public/
| ├ wp/
| ├ wp-content/
| | ├ plugins/
| | └ themes/
| ├ index.php
| └ wp-config.php
├ vendor/
├ .env.example
├ .gitignore
├ composer.json
├ composer.lock
└ README.md
Web server configuration
Configure your web server to use the directory public/ as document root (web root).
Steps to take
- If using Apache web server, copy
templates/.htaccess.exampletopublic/.htaccess. - Copy
templates/.env.exampleto.envand set the required database credentials andWP_HOMEin the.envfile.