Skip to content

Instantly share code, notes, and snippets.

@okeuday
Created September 27, 2015 08:24
Show Gist options
  • Save okeuday/a84e5c3f0014900ef1e9 to your computer and use it in GitHub Desktop.
Save okeuday/a84e5c3f0014900ef1e9 to your computer and use it in GitHub Desktop.
...
Path = [_ | _] = os:getenv("TEST_DIR"),
ReleaseConfig = filename:join([Path, "..", "rel", "files", "app.config"]),
{ok, _} = reltool_util:config_load(ReleaseConfig),
...
ok = reltool_util:application_start(?APPLICATION,
[{listen_ip, {127,0,0,1}},
{listen_port, ?PORT}], infinity),
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment