File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -132,24 +132,24 @@ apt-get install -y \
132132 php7.0-xml \
133133 php7.0-zip
134134
135- # Download wp-cli.phar to be able to create database
136- # and activate apps
135+ # Download wp-cli.phar to be able to install Wordpress
137136curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
138137chmod +x wp-cli.phar
139138mv wp-cli.phar /usr/local/bin/wp
140139
140+ # Create dir
141+ mkdir $WPATH
142+
141143# Create wp-cli.yml
142144touch $WPATH /wp-cli.yml
143145cat << YML_CREATE > "$WPATH /wp-cli.yml"
144146apache_modules:
145147 - mod_rewrite
146148YML_CREATE
147149
150+ # Show info about wp-cli
148151wp --info --allow-root
149152
150- # Create dir
151- mkdir $WPATH
152-
153153# Download Wordpress
154154cd $WPATH
155155wp core download --allow-root --force --debug --path=$WPATH
You can’t perform that action at this time.
0 commit comments