Skip to content

Commit

Permalink
Install WP-CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
basilhendroff committed Nov 28, 2020
1 parent a57ef39 commit 5f465c0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions wordpress-jail.sh
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,13 @@ iocage exec "${JAIL_NAME}" service redis start

iocage exec "${JAIL_NAME}" pw usermod www -G redis

#####################################################################
print_msg "Install the command line tool WP-CLI..."

iocage exec "${JAIL_NAME}" curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
iocage exec "${JAIL_NAME}" chmod +x wp-cli.phar
iocage exec "${JAIL_NAME}" mv wp-cli.phar /usr/local/bin/wp

#####################################################################
print_msg "Configure sSMTP..."

Expand Down

0 comments on commit 5f465c0

Please sign in to comment.