76design/wordpress-base

There is no license information available for the latest version (4.1.0) of this package.

Base Wordpress install with Roots theme

4.1.0 2015-01-17 20:35 UTC

This package is not auto-updated.

Last update: 2024-12-18 13:37:04 UTC


README

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

Dependencies

Installation

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

<?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',
	)
);