All Projects → raccoonyy → docker-compose-ghost-buster

raccoonyy / docker-compose-ghost-buster

Licence: other
Dockerized Ghost(Blog Platform) + buster(static site generator)

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to docker-compose-ghost-buster

Prometheus
🌈 A Clean And Modern Ghost Theme with Progressive Web Apps (PWA)
Stars: ✭ 94 (+452.94%)
Mutual labels:  ghost
gatsby-attila-theme-ghost
A Gatsby theme plugin for creating blogs from headless Ghost CMS.
Stars: ✭ 16 (-5.88%)
Mutual labels:  ghost
nomore
A minimal theme for Ghost Blog.
Stars: ✭ 18 (+5.88%)
Mutual labels:  ghost
nuxt-ghost
Easy Ghost content API integration with Nuxt.js.
Stars: ✭ 27 (+58.82%)
Mutual labels:  ghost
gatsby-london-after-midnight
A free, open source, image-concentric starter for GatsbyJS
Stars: ✭ 37 (+117.65%)
Mutual labels:  ghost
ghost-oss-store
Ghost Aliyun OSS storage module.
Stars: ✭ 28 (+64.71%)
Mutual labels:  ghost
donnie-dark
Donnie Dark is dark, responsive, customizable theme for Ghost 0.5+ blogs. Name of the theme is hats-off for a great movie.
Stars: ✭ 20 (+17.65%)
Mutual labels:  ghost
Dope
A unique tag-based theme for Ghost
Stars: ✭ 44 (+158.82%)
Mutual labels:  ghost
ghost
The Ghost Programming Language
Stars: ✭ 43 (+152.94%)
Mutual labels:  ghost
Tribeca
A free theme for Ghost
Stars: ✭ 15 (-11.76%)
Mutual labels:  ghost
Edition
The newsletter theme for Ghost
Stars: ✭ 60 (+252.94%)
Mutual labels:  ghost
whisper
Whisper Ghost Theme
Stars: ✭ 47 (+176.47%)
Mutual labels:  ghost
clean
clean是一个简洁清新的ghost博客现代主题 https://www.imcaviare.com
Stars: ✭ 14 (-17.65%)
Mutual labels:  ghost
aesto
Free Ghost theme with membership support. Minimal content focused design with multi author supported.
Stars: ✭ 31 (+82.35%)
Mutual labels:  ghost
smart
A theme for the open source Ghost CMS.
Stars: ✭ 23 (+35.29%)
Mutual labels:  ghost
heidi
A port of Mark Otto's Hyde theme to Ghost
Stars: ✭ 34 (+100%)
Mutual labels:  ghost
Casper-XYZ
Custom Ghost theme for my blog, based on Casper
Stars: ✭ 36 (+111.76%)
Mutual labels:  ghost
pale-ghost
A blank, dev ready, Ghost theme.
Stars: ✭ 13 (-23.53%)
Mutual labels:  ghost
ghost-on-heroku
One-button Heroku deploy for the Ghost 3.2.0 blogging platform.
Stars: ✭ 232 (+1264.71%)
Mutual labels:  ghost
docker-ghost
Docker File for Golden Ghost image
Stars: ✭ 16 (-5.88%)
Mutual labels:  ghost

Docker-Compose for easily run Ghost & buster

TL;DR

1. Create your repository

Repository name would be YOUR_GITHUB_ID.github.io. Details are GitHub Pages.

Attention! Have to checked Initialize this repository with a README checkbox.

2. Follow these instructions
$ git clone https://github.com/raccoonyy/docker-compose-ghost-buster blog
$ cd blog
$ vi .env  # for customizing
$ docker-compose up -d
...
3. Here is your Ghost!

And then, open http://127.0.0.1:2368/ghost in web browser.

4. Generate static blog & preview & deploy it!
$ docker-compose exec buster ./generate.sh
$ docker-compose exec buster ./preview.sh
$ docker-compose exec buster ./deploy.sh

How to use

0. Create your repository

Repository name will be YOUR_GITHUB_ID.github.com.

Attention! Have to checked Initialize this repository with a README checkbox.

1. Install Docker, Docker-Compose
2. Clone this repo
$ git clone https://github.com/raccoonyy/docker-compose-ghost-buster blog
$ cd blog
3. Create .env file
# .env sample
GITHUB_ID=raccoonyy        # Github ID
LOGNAME=raccoony           # Name
[email protected]  # Email
SSH_KEY=~/.ssh/id_rsa      # Private ssh key file
(3.5 Copy existing ghost contents)

If you have already ghost contents, copy some folders to blog.

$ cp EXISTING_GHOST_content ./content
$ cp EXISTING_GHOST_config ./config

And then, rename docker-compose-for-existing-content.yml to docker-compose.yml.

$ mv docker-compose-for-existing-content.yml docker-compose.yml
4. Run
$ docker-compose up -d
5. Execute buster commands
  • Generate static files
$ docker-compose exec buster ./generate.sh
  • Preview static server
$ docker-compose exec buster ./preview.sh
  • Deploy static files to Github
$ docker-compose exec buster ./deploy.sh
6. Stop server
$ docker-compose stop

Requirements

  • docker, docker-compose
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].