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.Answer1:
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
Procfile should be enough to start the server.