Ghost Theme for the PokédexTracker Blog
When you clone this repo for the first time, and you intend of making changes, there are a few things you need to do before you get started (you only have to do this the very first time):
- Make sure you are using the correct Node version. If you have
nodenv
, this means runningnodenv install
in the current directory which will use the.node-version
file. - Install dependencies with
yarn
. - Get everything setup correctly by running
yarn setup
. - Run
yarn start
to start Ghost, navigate tohttp://localhost:2368/ghost/
, and setup your blog (e.g. create an account, name your blog, etc). - Go to
http://localhost:2368/ghost/#/settings/design
, scroll to the bottom, and activate thepokedextracker
theme.
To test the theme as you make changes, just run yarn start
to start the Ghost
in development mode. This will allow you to make changes and refresh to see
them. Some caveats to keep in mind as you're developing:
- Ghost caches styles pretty aggressively from what I can tell, so if you aren't seeing your style changes, you'll need to do a hard refresh (Shift+Cmd+R on Chrome on Mac).
- Ghost only watches files that existed at startup, so if you add a new file or directory, you'll have to restart the server.
This theme is meant to be deployed as a bundled zip file. Before creating the bundle, you should cut a new version first. Then, after the tag has been created, you can run the bundle script to create the zip file which can then be uploaded directly to any Ghost blog.
yarn
yarn release:patch # or release:minor or release:major
yarn bundle