A command-line tool for upgrade Ghost. It takes the instructions from Ghost support and makes them automagic.
npm install -g ghost-upgrade ghost-upgrade
-y, --yes Yes I want to really upgrade and have prepared for it as discussed in http://support.ghost.org/how-to-upgrade/ -l, --location Location of Ghost install -c, --copy-casper Whether to copy Casper files
This tool requires Node 4 or higher.
This tool skips one optional step in the manual steps, to chown the files. If you have a permissions problem after running this script, that's what happened. Run chown on your ghost directory to change to the needed user to fix up.
This was created to simplify the steps in a Ghost on AWS guide and for use on one small personal blog. Any issues destroying your own blog with these upgrade steps... well, I'm very sorry if that does happen! It is a very simple program, as you can see in bin/ghost-upgrade. Make sure you understand what the upgrade really does before running it.
Thanks for fixing up anything broken in here! Here's all you need to do:
- Run "npm install"
- Add your changes in your fork.
- Run "npm test"
- Update the HEAD section in CHANGES.md with a description of what you have done.
- Push your changes and create the PR, and I'll try to get this merged in right away.