rebar create-app appid=myapp
rebar create template=simplesrv srvid=myapp_srv
rebar compile
erl -pa ebin -pz deps/*/ebin
application:start(myapp)
Create rebar.config file:
{deps, [
{pgsql, ".*", {git, "https://github.com/semiocast/pgsql.git"}}
]}.
rebar get-deps
rebar compile