Last active
August 29, 2015 14:08
-
-
Save JDevlieghere/0dc2581fadad1a1f8994 to your computer and use it in GitHub Desktop.
Upgrade Ghost Blog
This file contains hidden or 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
cd /var/www/ | |
wget http://ghost.org/zip/ghost-latest.zip | |
rm -rf $1/core | |
unzip -uo ghost-latest.zip -d $1 | |
chown -R ghost:ghost $1/* | |
cd $1 | |
npm install --production | |
rm -f ghost-latest.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment