Project template for developing a ghost website
CSS HTML JavaScript Shell
Switch branches/tags
Nothing to show
Clone or download
paislee Merge pull request #2 from mike360/master
Add missing comma to fix broken package.json
Latest commit 2306f56 May 17, 2016
Permalink
Failed to load latest commit information.
.docker initial commit Mar 17, 2016
scripts initial commit Mar 17, 2016
themes/casper initial commit Mar 17, 2016
.gitignore initial commit Mar 17, 2016
Dockerfile initial commit Mar 17, 2016
README.md Update README.md Mar 18, 2016
config.js initial commit Mar 17, 2016
package.json Add missing comma to fix broken package.json May 17, 2016

README.md

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