WordPressSkeleton
This is version 1.1.2, using WordPress 4.5.1
WordPress Skeleton using composer. Add plugins and themes from WordPress Packagist.
1. Install composer if required:
$ curl -sS https://getcomposer.org/installer | php
2. Use composer to install this project:
$ php composer.phar create-project madebydavid/wordpress-skeleton my-wordpress-directory 1.1.2
$ cd my-wordpress-directory
3. Move the local config sample to become the real local config file
$ mv local-config-sample.php local-config.php
4. Change these settings in the local-config.php file:
define('DB_NAME', 'my-wordpress-database');
define('DB_USER', 'root');
define('DB_PASSWORD', '');
define('DB_HOST', 'localhost');
define('WP_HOME', 'http://my-wordpress-site/');
define('WP_SITEURL', 'http://my-wordpress-site/wordpress');
5. Create the db:
$ mysqladmin -uroot create my-wordpress-database
6. Initialize using the included WP-CLI and you're ready to go.
$ ./vendor/bin/wp --path=wordpress --url="http://my-wordpress-site/" db reset
$ ./vendor/bin/wp --path=wordpress --url="http://my-wordpress-site/" core install \
--admin_user=root --admin_password=password \
--admin_email=my@email.goes.here.com \
--title="My Site Title"