This is a WordPress site setup using Composer that is primed and ready to be hosted using SpinupWP.
Inspired by Root's Bedrock and other Composer based setups.
$ composer create-project spinupwp/spinupwp-composer-site /path/to/site/webroot
.env
file:
DB_NAME
- Database nameDB_USER
- Database userDB_PASSWORD
- Database passwordDB_HOST
- Database hostWP_ENV
- Set to environment (development
, staging
, production
)WP_HOME
- Full URL to WordPress home (https://mysite.com)WP_SITEURL
- Full URL to WordPress including subdirectory (https://mysite.com/wp)public/content/themes/
as you would for a normal WordPress site/public
. https://mysite.com/wp/wp-admin/