Base Wordpress install with Roots theme

Installs: 95

Dependents: 0

Stars: 2

Watchers: 3

Forks: 1

Language: PHP

4.1.0 2015-01-17 20:35 UTC


Base deployment for WordPress, Composer and Phing using the WordPress Roots theme.



This repository has been registered with packagist. To get a base install of the project run the following command:

$ 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.

Once complete, rename your theme directory and project name where applicable:

$ phing init-project

Next step is to build:

$ phing build

This will run composer install, bower install and compass compile.

Finally, create a mode.php file in the includes/ directory that looks like the following:

vim includes/mode.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.

vim includes/config.php

$config['config_name'] = array_merge($config['development'], array(
        'DB_HOST'     => 'localhost',
        'DB_NAME'     => 'db_name',
        'DB_USER'     => 'root',
        'DB_PASSWORD' => 'root',