Forked from time-wcrp/install-wordpress-with-plugin.bash
Last active
February 4, 2016 07:00
-
-
Save inwdragon/21cccb52b6b4dd3e3867 to your computer and use it in GitHub Desktop.
install wordpress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Last updated 2016-02-03 | |
WORDPRESS_VERSION="4.4.2" | |
SFTP_VERSION="0.7.1" | |
git clone https://github.com/WordPress/WordPress.git | |
cd WordPress | |
git checkout tags/${WORDPRESS_VERSION} | |
cd .. | |
mv WordPress/* `pwd` | |
rm -rf WordPress/ | |
cd wp-content/plugins | |
curl https://downloads.wordpress.org/plugin/ssh-sftp-updater-support.${SFTP_VERSION}.zip -o ssh-sftp-updater-support.zip | |
unzip ssh-sftp-updater-support.zip | |
rm -rf ssh-sftp-updater-support.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment