how to run ejabberd with Erlang on Heroku?

家住魔仙堡 提交于 2019-12-23 01:54:49

问题


I am trying to create a realtime private chat app running on ejabberd in Erlang. I am trying to install the same on Heroku. I am aware on how to run Erlang on Heroku but I don't know how to get ejabberd running on Heroku for my application. I am completely new in developing realtime chat app but I am thinking to make it scalable. Please anyone can tell me how to do this. Thanks.


回答1:


Assuming that you are using source code form github.

After compiling with

./autogen.sh
./configure
make rel

there should be rel/ejabberd/bin/ejabberdctl executable, and adding

web: ./rel/ejabberd/bin/ejabberdctl start

to your Procfile should be enough to start the server.



来源:https://stackoverflow.com/questions/26979875/how-to-run-ejabberd-with-erlang-on-heroku

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