wpcli-cnb

module
v0.0.0-...-be64754 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2019 License: Apache-2.0

README

Wordpress CLI Cloud Native Buildpack

If you have deployed Wordpress to Cloud Foundry then it maybe desirable to have the wp CLI available when you cf ssh into your application container.

For example,

# cf ssh wordpress
$ /tmp/lifecycle/shell
$ wp plugin list
+-------------------+----------+--------+---------+
| name              | status   | update | version |
+-------------------+----------+--------+---------+
| aryo-activity-log | active   | none   | 2.5.2   |
| akismet           | inactive | none   | 4.1.2   |
| hello             | inactive | none   | 1.7.2   |
| s3-uploads        | active   | none   | 2.0.0   |
+-------------------+----------+--------+---------+

Learn more about the wp CLI in the handbook.

Inside cf ssh, the wp helper is already configured with the --path=$HOME/htdocs where Wordpress will be installed by the php-buildpack.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL