Once I used Ghost Pro, I thought about self hosting. I have a WP site that’s basically wasted as a WP site. It’s small, it’s static, and it rarely changes. I thought it would be perfect for Node. There are also a couple of small, basically HTML, sites I run in the back of things. This would be fine to manage that.
But first I had to address a major misconception.
You Install Ghost on Your Server
For some reason in my head I had this working like Jekyll, which I would install on my computer and push up to my server. No, I’m not so much installing Ghost as Deploying Ghost.
But I Installed Ghost On Your Computer
I decided to do this anyway, just to see what I was getting into.
To install Ghost you must install Node.js first. Since I have Homebrew, this is two commands:
$ brew unlink node $ brew install node
I had an older version of Node.js installed for whatever reason.
Sadly I can’t install Ghost this way.
Next you download Ghost (I was download 564,730) and at this point I hesitated. The directions don’t tell you where to put the files. It just says this:
Next, grab the newly extracted ‘ghost-#.#.#’ folder and drag it onto the tab bar of your open terminal window, this will make a new terminal tab which is open at the correct location.
Since I know that upgrading involves replacing the files, I’m no fool, and I made a new folder setup: ~/Sites/ghost/sitename.com/
That’s where I ran node commands:
$ npm install --production $ npm start
Done. Now I have Ghost up and running locally.
Install Ghost on My Server
In a word? Ow.
The main issue is Node.js and Apache both want to use the same ports. That’s impossible. And I want to keep Apache running port 80 because this VPS runs… well… WordPress. This is where I stopped the first time I tried to do all this and tossed this post into a long draft.
There are directions on How to Host Ghost on an Apache Subdomain, which luckily is what I wanted to do. Except it was complicated and messy and required root.
So the NUX here? Absolute crap. It’s just not something a new user would want to do, be able to do, or be able to maintain.
And that sucks.
Ghost’s got a great interface, one that I like better than WordPress for blogs and simple sites. It’s nailed simple in a way we crave. But it came at a cost. WordPress’s simple to install is fraught by it’s IDIC complex. Infinite diversity in infinite combinations, with the themes and plugins, lends WordPress amazing abilities but a pretty insane learning curve. Ghost I could sort out in a couple hours but you really can’t do too much with. I wouldn’t use it for a store. I might use it for a blog if I had to start over.
Except I can’t (easily) self host it because of stupid Node.js.
If they can sort that out, make it so I can easily, without root, install and manage Ghost, I’ll be back.
Until then, Managed Ghost Hosting is the way to go. Or WordPress. Take your pick.
Comments
One response to “NUX: Setting Up Ghost (Self Hosted)”
Yeah it’s sad. Perhaps in the future more hosts will have built-in support / Ghost Installers in their auto-installer section.