Installing as a npm module, getContentPath in node_modules/ghost


Hello everyone!

I’m exciting in starting to use ghost as a cms. I’m planning to use it a npm module, as I find it easier to deploy it into different cloud providers.

I can install it without any issue, as I said as a npm module, but I see that now the content/ folder is referring to the folder inside /node_modules/ghost/content, and not that one I create in my project root.

If I change the key “contentPath” to “…/…/content” I can force it to make reference to my content path … it works but it doesn’t look very clean … is there any other way to make it work? I’m open to any suggestion …

keep up the good work!!



This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.