- Deploy Ghost to Heroku with cobyism one-click install.
git clone https://github.com/cobyism/ghost-on-heroku
cd ghost-on-heroku
heroku git:remote -a MYAPPNAME
git add .
git commit -m "Initial commit"
git push heroku master
ncu -a && yarn add github:tryghost/Casper#2.6.4
git add --all
git commit -m "Ghost 2.2.2, Casper 2.6.4"
git push heroku master
- Overwrite dependencies (see below).
N.B. Ensure "ghost" and "casper" versions in dependencies and for lines 8, 10 reflect the latest versions.
{ "name": "ghost-on-heroku", "description": "Just a blogging platform on Heroku.", "license": "MIT", "repository": { "type": "git", "url": "git://github.com/cobyism/ghost-on-heroku.git" }, "bugs": "https://github.com/TryGhost/Ghost/issues", "private": true, "version": "1.7.1", "dependencies": { "casper": "github:tryghost/Casper#2.6.4", "ghost": "^2.2.2", "ghost-storage-adapter-s3": "^2.5.2", "mysql": "^2.16.0", "@babel/core": "^7.0.0", "express": "^4.16.3", "path": "^0.12.7", "webpack": "^4.17.1", "webpack-command": "^0.4.1" }, "engines": { "node": "8.9.x" }, "scripts": { "start": "node server.js" } }