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
- Host: GitHub
- URL: https://github.com/itspriddle/wordpress-playground
- Owner: itspriddle
- Created: 2015-12-04T19:11:54.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-30T18:33:09.000Z (about 10 years ago)
- Last Synced: 2025-03-29T22:17:03.070Z (about 1 year ago)
- Topics: php, wordpress
- Language: PHP
- Homepage: https://josh.fail/blog/2015/running-wordpress-on-os-x.html
- Size: 9.03 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
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