Base Wordpress install with Roots theme
Base deployment for WordPress, Composer and Phing using the WordPress Roots theme., (*1)
This repository has been registered with packagist. To get a base install of the project run the following command:, (*2)
$ composer create-project 76design/wordpress-base <folder_name>
This will run composer install, installing any plugins (ex. akimset) or vendor packages and then the roots theme. Then it runs any post create commands, which in this case will install WordPress., (*3)
Once complete, rename your theme directory and project name where applicable:, (*4)
$ phing init-project
Next step is to build
:, (*5)
$ phing build
This will run composer install, bower install and compass compile., (*6)
Finally, create a mode.php file in the includes/
directory that looks like the following:, (*7)
vim includes/mode.php, (*8)
<?php define ("MODE", "config_name");
config_name will match your configuration name from the includes/config.php file (ex: development), which should also be updated., (*9)
vim includes/config.php, (*10)
$config['config_name'] = array_merge($config['development'], array( 'DB_HOST' => 'localhost', 'DB_NAME' => 'db_name', 'DB_USER' => 'root', 'DB_PASSWORD' => 'root', ) );