Skip to content

vccw-team/install-wp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

install-wp

Build Status

Installs testing environment.

Command example

$ export WP_PORT=8080
$ export WP_VERSION=latest
$ curl https://raw.githubusercontent.com/vccw-team/install-wp/master/install-wp.sh | /usr/bin/env bash
$ curl https://raw.githubusercontent.com/vccw-team/install-wp/master/run-wp.sh | /usr/bin/env bash

Then you can access http://127.0.0.1:8080/.

Envinronment variables

Name Desctiption
WP_THEME Slug or Zip URL of the Theme. See wp help theme install.
WP_VERSION WordPress version. See wp help core download.
WP_PATH Path to the Document Root. Default is /tmp/wp-tests.
WP_PORT The port number to bind the server to. Default is 8080.
WP_DB_NAME MySQL database name. Default is wp-tests.
WP_DB_USER MySQL database user. Default is root.
WP_DB_PASSWORD MySQL password. Default is empty.
WP_ERROR_LOG Path to the error log.

About

Shell script based WordPress installer for CI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages