September 25, 2015
Steps to run ldf-server on Heroku with an HDT backend.
- Read the Node troubleshooting guide from Heroku for background.
- Run the commands in the Start with a Blank Slate section of the guide.
- Add
package.json
to your git repository if it isn't already. - For my project, I had to explicitly add hdt - 1.2.2 as a dependendency.
{
"name": "my-ldf-app",
"description": "a really cool app",
"version": "0.0.1",
"engines": {
"node": "0.10.x",
"npm": "2.13.4"
},
"dependencies": {
"hdt": "^1.2.2",
"ldf-server": "^1.1.6"
}
}
web: ldf-server config.json $PORT