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.