- nodejs v.6, 8 or 10 required
- Clone this repo
- (make it private if you want to backup your data on Github as well)
- make sure to add a
remote/origin
url
sh ghostpages.sh install
- a
ghost
folder is created containing all your blog and required data node_modules
containsghost-cli
andghost-static-site-generator
- → you can now edit your blog at
localhost:2373/ghost
- a
sh ghostpages.sh generate
static
folder contains the static website- a
CNAME
file is created
sh ghostpages.sh publish
- push the
static
folder on Github-Pages viaremote/origin/gh-pages
- push the
sh ghostpages.sh backup
- create a zip archive of your content and database