-module(mtws_app).

-behaviour(application).

%% Application callbacks
-export([start/2, stop/1]).

%% ===================================================================
%% Application callbacks
%% ===================================================================

start(_StartType, _StartArgs) ->
  nitrogen_sup:start_link(),
  mtws_sup:start_link().

stop(_State) ->
    ok.

-module(mtws_app).

-behaviour(application).

%% Application callbacks
-export([
  start/0,
  start/2,
  stop/1
]).

%% ===================================================================
%% Application callbacks
%% ===================================================================

start(_StartType, _StartArgs) ->
  nitrogen_sup:start_link(),
  mtws_sup:start_link().

%% TODO: remove this
start() ->
  [application:start(A) || A <- [gproc, riakc, metalkia_riak, metalkia_web_site, exmpp, metalkia_xmpp]].


stop(_State) ->
    ok.

Add stub for fast startup
Add stub for fast startup
