Permalink
Browse files

fix start bugs

  • Loading branch information...
1 parent 20d7a21 commit 0b5e42d6c71ff75be338433166ff8e9dd4396f12 @ronalfei committed Jan 24, 2014
Showing with 2,422 additions and 317 deletions.
  1. +1 −2 src/ess.app.src
  2. +5 −0 src/ess.erl
  3. +1 −1 src/handler/index.erl
  4. +1 −1 start-dev.sh
  5. +2,414 −313 tags
View
@@ -7,8 +7,7 @@
{registered, []},
{applications, [
kernel,
- stdlib,
- cowboy
+ stdlib
]},
{mod, {ess_app, []}},
{env, []}
View
@@ -10,8 +10,13 @@
start() ->
ok = application:start(crypto),
+ ok = application:start(cowlib),
ok = application:start(ranch),
ok = application:start(cowboy),
+ ok = application:start(syntax_tools),
+ ok = application:start(compiler),
+
+ ok = application:start(goldrush),
ok = application:start(lager),
ok = application:start(emysql),
ok = application:start(ess),
@@ -15,7 +15,7 @@ init(_Transport, Req, []) ->
handle(Req, State) ->
try
- lager:debug("Original Req = ~n ~p ~n", [Req]),
+ lager:info("Original Req = ~n ~p ~n", [Req]),
{Path , Req1} = cowboy_req:path(Req),
Hash = fetch_hash(binary:split(Path, <<"/">>, [global])),
case Hash of
View
@@ -7,5 +7,5 @@ erl -name ess@10.100.1.83 -pa ebin -pa deps/*/ebin -s ess -s reloader \
-smp enable \
+zdbbl 32768 \
-setcookie ess \
- -eval "io:format(\"* Eventsource: http://localhost:8181/~n~n~n\"). " \
+ -eval "io:format(\"* Eventsource: http://localhost:8181/~n~n~n\"). "
%-detached
View
2,727 tags
Oops, something went wrong.

0 comments on commit 0b5e42d

Please sign in to comment.