Serve using your own binary on Cedar, Heroku

怎甘沉沦 提交于 2019-12-04 08:38:37

You can deploy your Haskell app as Node.js. Cedar stack recognizes an app as Node.js by the existence of a package.json file. So, you should create a package.conf as follows:

package.json:

{ "name": "project-name", "version": "0.0.1", "dependencies": {} }

I know that you've already solved it, but I had pretty much the same problem with an additional cause, so this might help others:

Make sure to use heroku create --stack cedar rather than heroku create.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!