Skip to content

alfkonee/server-command

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wp server

This is a package that implements the wp server command.

It uses the PHP built-in server to serve a given WordPress instance.

The main advantage is that you don't have to install and configure Nginx or Apache, which can be overkill if you just want to work on a theme or a plugin.

Requirements

  • PHP 5.4 or newer
  • WordPress 3.5 or newer

Installation

First, make sure you have the package index configured:

cd ~/.wp-cli/
php composer.phar config repositories.wp-cli composer http://wp-cli.org/package-index/

Then, just install the package:

php composer.phar require wp-cli/server-command=dev-master

How is this different from Whippet?

The main difference is that we don't modify the wp-config.php file, so you can run other WP-CLI commands while the server is running.

About

Start a development server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors