diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-06-30 16:23:38 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-08-12 01:22:33 -0400 |
commit | 48c8fde34591f782be7af77575eaa02dab8659b3 (patch) | |
tree | bb54c0d61a660b9ba019f9b187e901ede7132bfa /src/mem3_app.erl | |
parent | 8a09581aa2252f53047fa0e9e95591eaae4556c9 (diff) |
standardize mem3 naming. app is horribly broken for now
Diffstat (limited to 'src/mem3_app.erl')
-rw-r--r-- | src/mem3_app.erl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mem3_app.erl b/src/mem3_app.erl new file mode 100644 index 00000000..70bf1cf9 --- /dev/null +++ b/src/mem3_app.erl @@ -0,0 +1,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. |