Upgrade Ghost without Ghost-Cli
Après cet article voici la liste des commandes pour upgrader facilement son blog Ghost sans le cli.
1/ Upgrade Yarn
yarn upgrade yarn
2/ Check update
yarn outdated
(think to check package.json if necessary)
3/ Upgrade
yarn upgrade
4/ Database migration
NODE_ENV=production knex-migrator migrate --mgpath node_modules/ghost
5/ Upgrade Theme
rm -r content/themes/casper
cp -r node_modules/ghost/content/themes/casper content/themes