Running Ghost as an npm module27 Mar 2014
Starting with the most recent release, 0.4.2, Ghost is now published as an npm module. I found the upgrade instructions to be rather horrifying and it just makes sense to abstract away Ghost core. There isn’t a reason to modify core, just like WordPress. There is a wiki page for running ghost as an npm module but, they don’t include everything that is needed.
I’m starting with the assumption that you have your Ghost site in git already.
- Delete everything in you the sites folder except
- Add a
- Modify your
config.jsfile to add to add a
To both the development and production sections
- Add an
- Install the dependencies by running
npm install --production
- Restart/Redeploy your blog and enjoy running Ghost as an npm module