Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inwdragon/21cccb52b6b4dd3e3867 to your computer and use it in GitHub Desktop.
Save inwdragon/21cccb52b6b4dd3e3867 to your computer and use it in GitHub Desktop.
install wordpress
# 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