So I decided to compile a mini tutorial comprising of five parts, which go through the steps involved in starting up a Ghost blog on OpenShift using my experiences. The topics covered so far are:
instructions from the Ghost main website here, but I have also included some extra steps involved with OpenShift.
Although this guide is geared towards OpenShift it can be used to update any Ghost blog.
you but I love updates, I update all of my devices as soon as an update is available. Therefore it is important because at the time of writing the Ghost version that OpenShift deploys is 0.5.0 and the most up to date version is 0.5.8 (we all want the new features that get added every release).
I did also have an issue with Internet Explorer on Ghost 0.5.0, it failed to load certain parts of a blog post, but updating fixed it!
you need to backup! This is just in case heaven forbid something goes wrong and you lose your hard work.
/ghost/debug/(as of 0.5.6
/ghost/settings/labs/). Press the export button to download a JSON file containing all of your data. Job done!
content/images(although if you are using OpenShift’s Ghost application the images folder is symlinked so no need to worry).
you need to remember what these were, so that you can add your additional functionality back in after updating. This is because you have to delete the contents of the casper folder and replace them with the new updated files.
If you haven’t made changes to the default Casper theme or you don’t know what I am talking about don’t worry we will be modifying this is later posts.
corefolder and put the new on in it’s place
content/themes/casperfolder and put the new one in it’s place
git add -A
git commit -m "Updated Ghost"(you can change ‘Updated Ghost to whatever commit message you want)
Upon reading the instructions from Ghost when the first or middle version number changes E.g. 0.5.17 to 0.6.0, it is recommended that you don’t miss upgrading to the first of the new version number. E.g. if your blog is on 0.5.3, and Ghost latest is 0.6.2, you should upgrade to 0.6.0 and then to 0.6.2.
version. You can now use all the shiny new features!