โฆ I use this now: https://github.com/moritzjacobs/wordpress-boilerplate
This is simply a skeleton repo for a WordPress site, forked from ADARTA and modified to my needs. Read the original README and use with caution.
- Clone this git into
htdocs
:
git clone [email protected]:moritzjacobs/Composer-Wordpress-Skeleton.git my-server-root
- Edit
wp-config-local-sample.php
and enter valid db credentials, then rename towp-config-local.php
- Change the Wordpress table prefix in
wp-config.php
(line 52) composer install
- Surf to
http://mycrazyhostname.dev/admin
- Follow install process
- Update Wordpress via the Dashboard (why you need to do this, I have no idea...)
- Removed roots
- Renamed
wp-content/
tosite/
andwp/
tocore/
- Removed
web.config
wp-config-*.php
support with auto-switching by host name (local | staging | live
)- Plugin activation is handled by
mu-plugins/plugin-bootstrap.php
; Plugins are inactive if their root folder/file name starts with an underscore - Read .gitignore to get an idea about what we're trying to accomplish with git and composer here