wonderpress server

Starts a web server to run WordPress locally.

Use PHP to start a web server for development purposes. This is basically just a wrapper for WP CLI’s wp server command.

Options

–dir=<directory>
A relative path to a directory with a valid .wonderpressrc file. Defaults to the current directory.

Examples

# Start a development server
$ wonderpress server
Wonderpress INFO: Starting development server...

# Start a development server in a different directory
$ wonderpress server --dir=example
Wonderpress INFO: Starting development server...