If you do a standard ghost installation and jitsu deploy, each deploy will overwrite everything on the server -- including content, themes, etc.
To avoid this, nodejitsu created a persistent-ghost wrapper
Installation instructions are here: http://blog.nodejitsu.com/persistent-ghost-blogging
Here are the steps:
- Fetch the wrapper
sudo jitsu install ghost
and setup via prompt - Run
sudo jitsu deploy
and acknowledge (if any) changes to package.json
Here is what it does under the covers (or how to do it manually) https://github.com/nodejitsu/persistent-ghost/blob/master/README.md
- I initially had a ghost deploy and the
jitsu deploy
asked if I wanted to overwrite, which I did. However, the deploy would fail each time. Solution was to delete the previous ghost app (which was not a persistent-ghost deploy). - I am still having issues with running ghost locally with this setup. If I install ghost normally everything is fine and runs locally great. However, if I use the persistent-ghost wrapper I get the following error when running
npm start
in the/ghost
directory.