Ghost updates on Webfaction

Upgrading ghost in place on webfaction is fairly painless. If you have any problems its easiest to debug by using node in bin directly to launch the ghost index.hbs file, this wat you can see the errors there and then.


zip -r9 ~/webapps/ghost/ghost;
wget -O $(
       curl -s | \
    grep  browser_download_url | head -1 | cut -d'"' -f4
unzip -d ~/webapps/ghost/ghost/;
cd ~/webapps/ghost/ghost;
../bin/npm install --production
../bin/stop && ../bin/start