Skip to content

Host yout Ghost blog on GithubPages (or wherever you want)

Notifications You must be signed in to change notification settings

gmolveau/ghostpages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ghostpages.sh

Create and organize your blog with Ghost, generate a static website and deploy on github pages.

  • nodejs v.6, 8 or 10 required
  1. 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
  2. sh ghostpages.sh install
    • a ghost folder is created containing all your blog and required data
    • node_modules contains ghost-cli and ghost-static-site-generator
    • → you can now edit your blog at localhost:2373/ghost
  3. sh ghostpages.sh generate
    • static folder contains the static website
    • a CNAME file is created
  4. sh ghostpages.sh publish
    • push the static folder on Github-Pages via remote/origin/gh-pages
  5. sh ghostpages.sh backup
    • create a zip archive of your content and database

Releases

No releases published

Packages

No packages published

Languages