Skip to content

Instantly share code, notes, and snippets.

@billwscott
Last active January 1, 2016 03:39
Show Gist options
  • Save billwscott/8086899 to your computer and use it in GitHub Desktop.
Save billwscott/8086899 to your computer and use it in GitHub Desktop.
Notes on ghost installation for nodejitsu

Why a Wrapper?

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

Installation instructions are here: http://blog.nodejitsu.com/persistent-ghost-blogging

Here are the steps:

  1. Fetch the wrapper sudo jitsu install ghost and setup via prompt
  2. 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

Issues

  • 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment