This guide covers the installation of Ghost CMS, starting the server, uploading a new theme, and restoring a backup.
- Node.js (v12.10.0 or later)
- npm (v6.0.0 or later)
- A supported version of Ghost CLI
-
Install Ghost CLI globally:
npm install -g ghost-cli
-
Create a new directory for your Ghost installation and navigate into it:
mkdir my-ghost-blog cd my-ghost-blog
-
Install Ghost:
ghost install local
-
Start Ghost:
ghost start
-
Check Ghost status:
ghost ls
You should see your Ghost instance running.
-
Upload the theme via the Ghost Admin:
- Navigate to
http://your-ghost-blog.com/ghost
. - Log in with your admin credentials.
- Go to
Design
->Themes
->Upload a Theme
. - Zip all theme files with
npm run zip
, and upload it. - Activate the theme once it's uploaded.
- Navigate to
-
Access the Ghost Admin:
- Navigate to
http://your-ghost-blog.com/ghost
. - Log in with your admin credentials.
- Navigate to
-
Navigate to the Imports section:
- Go to
Dashboard
->Settings
->Import/Export
->Migration Tools
->Import
.
- Go to
-
Import your backup:
- In the
Import Export
section, find theImport
section. - Choose your backup file (usually a
.json
file,uploaded insettings_backup folder
) and upload it. - Follow the prompts to complete the restoration.
- In the
-
Copy image assets:
- Copy And Paste all
images
from images folder to\content\images
.
- Copy And Paste all
You now have a basic setup for managing a Ghost CMS instance, including installation, starting the server, uploading themes, and restoring backups. For more detailed information, visit the official Ghost documentation.