Skip to content

Instantly share code, notes, and snippets.

@alpacaaa
Created October 14, 2013 20:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alpacaaa/6981754 to your computer and use it in GitHub Desktop.
Save alpacaaa/6981754 to your computer and use it in GitHub Desktop.
Installing Ghost Blogging platform

Installing Ghost is much more complicated than it is described in the docs. Here are a few additional steps needed do get it up and running.

####Clone the git repository I cannot get to work any of the random releases files I've downloaded, so start off with a fresh repo and follow the few steps that the guide actually provides.

git clone https://github.com/TryGhost/Ghost.git ghost
cd ghost
npm install
npm start

You dumbass! The guide says to just install the production dependencies, why do you want me to download all that development shit, you moron?

Because the guide does not fucking work, idiot.

####Install submodules Did you know the default theme comes as a submodule?

git submodule update --init

####Install sass & his closest friends Did you know the css won't display until they're fucking compiled? Oh! And you need to compile the javascript files too, of course.
Hopefully you have ruby installed on your system. Install these beautiful gems.

gem install bourbon
gem install sass

Do you think this is enough? Screw you, you have to install bourbon (I didn't even know what the fuck bourbon was).

bourbon install

####Run grunt The smartass in you should already be using grunt, but if you missed that, go check it out NAO!

npm install -g grunt-cli

This will install grunt system wide. Yay! A new node binary on your blinking macbook. Time to give it a try.

grunt

What a dirty word for your clean and elegant machine, don't you think? Well, turns out that awful mumble (not sure if the translation is correct, but we're not here to judge my English skills), is the last step needed before you're ready to use Ghost!

####Run it! npm start open http://localhost:2368/ghost

Hopefully everything is working good. Keep in mind you're operating inside a development environment, so be careful.

I'm giving Ghost a try as I'm writing this post, right now. It looks very good, this harsh words aren't meant to offend any of the developers involved, of course :)

It is just fun how a few years ago the pain was in setting up a proper *AMP machine and now node is all the rage. Maybe things are changed for the better. This blogging engine looks (design and code wise) a hundred thousands time better than Wordpress. 'Nuf said, thanks for releasing it as opensource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment