An open API service indexing awesome lists of open source software.

https://github.com/itspriddle/wordpress-playground

My WordPress playground
https://github.com/itspriddle/wordpress-playground

php wordpress

Last synced: about 2 months ago
JSON representation

My WordPress playground

Awesome Lists containing this project

README

          

# WordPress Playground

A little playground for toying with WordPress on OS X.

## Prerequisites:

* wp-cli: `brew install itspriddle/brew/wp-cli`
* mysql: `brew install mysql`

On OS X you need to configure `/etc/php.ini` to know about Homebrew's MySQL:

sudo cp -n /etc/php.ini.default /etc/php.ini
sudo sed -i '.bak' 's,default_socket[[:space:]]*=$,default_socket = /tmp/mysql.sock,' /etc/php.ini

## Usage

Generate `wp-cli.local.yml`, see `rake -D install:wp-cli` for customization
options:

rake install:wp-cli

Install:

rake install

Run server:

wp server

View in browser:

open http://localhost:9000/

Kill everything:

rake clean