Skip to content
This repository has been archived by the owner on Jan 23, 2022. It is now read-only.

tniezg/ghost-theme-development-docker-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

ghost.org theme development Docker image

How to start developing:

  1. docker run -d --name ghostdev -p 2368:2368 --rm -v "$(pwd)":/app ghostdev
  2. ghost install local --no-start
  3. mkdir -p /app/content/themes/newtheme
  4. cd /app/content/themes/newtheme
    1. git clone https://github.com/TryGhost/Casper.git .
    2. yarn install
    3. yarn dev
  5. nodemon current/index.js --watch content/themes/newtheme --ext hbs,js,css

To run commands inside Docker: docker exec -ti CONTAINERID /bin/bash

Port for the development site: 2368.

Make site public by changing server.host inside /config.development.json to 0.0.0.0.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published