summaryrefslogtreecommitdiff
path: root/src/mem3_app.erl
blob: 70bf1cf91513fb63e795e1cd525f4d13c3ffae79 (plain)
1
2
3
4
5
6
7
8
9
10
11
-module(mem3_app).
-behaviour(application).
-export([start/2, stop/1]).

start(_Type, []) ->
    DbName = couch_config:get("mem3", "db", "dbs"),
    couch_server:create(list_to_binary(DbName), []),
    mem3_sup:start_link().

stop([]) ->
    ok.