For development.
Prerequisites:
- supported Node.js version
yarn
ornpm
to manage packages (npm
comes withnodejs
)
$: npm install ghost-cli@latest -g
$: npm install gscan -g
$: ls # -> empty directory
$: ghost install local
Visit:
$: ghost stop
$: ghost start
$: ghost log
$: ghost ls
$: ghost help
Place custom theme
in /content/themes/
.
File edits automatically reload Ghost.
You need to restart Ghost after creating new files.
Scan and validate themes with gscan
:
gscan /path/to/Theme-Directory
gscan -z /path/to/Archive-Name.zip