12 September 2014
We’re evaluating Ghost.js for our upcoming project at r3dm.com.
It’s pretty cool. Explicitly NOT a CMS for node.
Here’s our config file. Hopefully it saves some new devs some trouble. 1 2 3 4
The cool things to note are:
1) since heroku provides an environment variable
DATABASE_URL you can specify your
production database by passing it in. This is thanks to project knexjs which is a dependency of ghost.
2) heroku doesn’t support storing files. But you’re probably better off storing those in Amazon S3 + cdn anyway. This way just store the resulting urls in your heroku database.
This is a much cleaner solution, imho, than those provided elsewhere.
comments powered by