Thank you for your interest in contributing to this project! ❤️
Requirements: node v16 or newer.
Follow the official Ghost setup guide to install Ghost locally on your machine.
-
Clone the theme into the
<YOUR_GHOST_INSTALLATION>/content/themes
directory. Optionally clone the theme to a place of your choice and create a symlink in the said destination. Either way you should end up with this structure:<YOUR_GHOST_INSTALLATION>/content/themes/frontend-garden-ghost-theme
. -
In the theme root run:
npm install npm run build
-
In the Ghost installation directory run
ghost start
. -
Visit
http://localhost:2368
in your browser. -
Activate
frontend-garden-ghost-theme
on the Design administration page.⚠️ Do not try to re-upload the theme. If you followed step 1 it's already there! -
In the theme root there is a
routes.yaml
file. Upload this single file using Routes on the Labs administration page. -
Congrats, you're done! 🎉
Install nodemon globally on your machine:
npm install --global nodemon
Run nodemon in the Ghost app directory:
nodemon current/index.js --watch content/themes/frontend-garden-ghost-theme --ext hbs,js,css
Start watching for changes in the frontend-garden-ghost-theme
directory:
npm start