Created
November 3, 2015 15:24
Revisions
-
bitIO created this gist
Nov 3, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ #!/bin/sh git --work-tree=/var/www/ghost --git-dir=/root/repository/ checkout -f cd /var/www/ghost chown -R ghost:ghost * npm install --production cd content/data rm ghost.db ln -s ghost-dev.db ghost.db service ghost restart