Skip to content

calebds/ghost-docker-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ghost-docker-starter

A starter project for developing and deploying Ghost themes with Docker.

Features:

  1. Ability to publish Ghost theme as an NPM package
  • Deploy as a Docker container based on Ghost image
  • Blog config file checked into source
  • Develop in a Docker container based on Ghost image
  • Live code reloading during theme development
  • Persistent development instances of Ghost blogs

Full article with more details here: http://paislee.io/how-to-develop-ghost-themes-wth-docker.

Getting started

  1. Clone this repo
  2. Install Docker
  3. Modify config.js as per Ghost documentation
  4. Update package.json to name your blog
  5. Update scripts/build.sh, scripts/development.sh, and scripts/upgrade.sh to name your Docker images

Build the image

$ ./scripts/build.sh

Run in development mode

$ ./scripts/development.sh

Upgrade production image

$ ./scripts/upgrade.sh

About

Project template for developing a ghost website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published