Skip to content

Instantly share code, notes, and snippets.

@lawlesst

lawlesst/ldf-hdt-heroku.md

Last active Sep 26, 2015
Embed
What would you like to do?
Notes on running ldf-server on Heroku with an HDT backend

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.

package.json

{
  "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"
  }
}

Procfile

web: ldf-server config.json $PORT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment