6082

how to run ejabberd with Erlang on Heroku?

Question:

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

to your Procfile should be enough to start the server.

Recommend

  • Discard points with X,Y coordinate close to eachother in Dataframe
  • How to debug Visual Studio .NET application under Mono in Linux?
  • Size of the Boost shared vector keeps fluctuating
  • Simple DocumentDb stored procedure
  • String array in C#
  • can an android application check the version of the phone
  • MVC controller.Execute with areas
  • Insert value automatically in database [closed]
  • Listview MouseDoubleClickEvent create in behind code
  • How to find out what makes poi corrupt a xlsx / xlsm file
  • JMeter: Login flow involving URL redirection not working
  • Footer consisting of two right triangles
  • How to extract details from the xml files using java?
  • How well does Entity Framework 6 support .NET 4.0?
  • org.springframework.core.convert.ConverterNotFoundException: No converter found capable of convertin
  • sending emails in python weird behaviour
  • Executing JavaScript function in Code behind — How to Get the Return Value in Code Behind
  • Printing a flowdocument with dynamic data in WPF
  • Get method parameters with specific annotation in aspect in scala using java reflection
  • How to add a progress ring to the splash screen in Windows 8?
  • pass sessionid through jquery ajax call to php
  • How to use grep to output unique lines of code from a file?
  • Unknown type name with typedef struct in C
  • Working with codeception and laravel
  • How to convert SVG to jVectorMap format
  • remove date from DateTimePicker for Compact Framework
  • Android NDK refer to external libraries in JNI
  • Remove stopwords and tolower function slow on a Corpus in R
  • characters not allowed in DOM ids by spec, and by browser
  • MayAVI install on Python 3.6 [duplicate]
  • Multiple canvases (pages) in Fabric.js
  • How to define a custom accuracy in Keras to ignore samples with a particular gold label?
  • Debugging php script timeout?
  • Add font awesome icon to custom add to cart button in Woocommerce 3
  • how to read to huge file into buffer
  • I am consuming a WCF service that requires headers from a .NET 2 website. How can I programmatically
  • How to warp text around image in iOS?
  • How to handle div that is created dynamically in a table
  • Google App Engine backend servlet not responding
  • Grails - How to implement a foreign key relationship not using an id column?