This repository contains a script to automate the setup of a Ghost development environment using Docker.
-
Install Git on your system:
On Ubuntu/Debian:
sudo apt-get update sudo apt-get install git
-
Clone this repository to your local machine:
git clone https://github.com/Harsh-2002/ghost-env.git cd ghost-env
-
Execute the setup script:
sudo chmod u+x setup_ghost.sh && sudo bash setup_ghost.sh
This script installs Docker, creates a Ghost directory, downloads the Docker Compose file, and sets up the Ghost development environment.
-
Wait for the process to complete, and you will see a message indicating that your Ghost development environment is live at
http://localhost:8040
. -
The Ghost content directory will be located at
/home/your-username/ghost-env/ghost-dev/ghost/content