[erlang-questions] Creating .EXE from Erlang Application in Windows 7

Maxim Sokhatsky maxim@REDACTED
Thu Oct 23 09:47:32 CEST 2014


Hello. You can create escript bundles with MAD.

        https://synrc.com/apps/mad

The name of the binary should be the same as as the module which has main/1 function. MAD know how yo ordering apps. Binaries made with mad are able to be run under Windows, Linux and Mac. We created ETS filesystem wich unzip all priv dirs of all apps to the memory from the bundle’s static.gz. So you even be able to run N2O sites as the bundles. To create simple N2O site with MAD and bundle it you should do:

    $ mad app sample
    $ cd sample
    $ mad deps compile plan bundle web_app

./web_app packed Site could be run on any machine with Erlang installed in any folder.

--  
5HT





More information about the erlang-questions mailing list