I just want to setup plain webmachine and mochiweb latest (2.3.1) from their respective github (git) repository. Webmachine clearly not compatible with mochiweb 2.3.1, at least for simple not dependent (no Riak) instance,
These are the additional services should be started,
here is the code which webmachine likes,
ensure_started(crypto),
ensure_started(public_key),
ensure_started(ssl),
ensure_started(compiler),
ensure_started(syntax_tools),
ensure_started(xmerl),
ensure_started function is nothing but webmachine's, this is a kind of paradigm followed by all well written Erlang apps.
After these changes, webmachine is started and flashed "Hello, new world" when I hit http://localhost:8000, may be I will push these changes to webmachine.
These are the additional services should be started,
here is the code which webmachine likes,
ensure_started(crypto),
ensure_started(public_key),
ensure_started(ssl),
ensure_started(compiler),
ensure_started(syntax_tools),
ensure_started(xmerl),
ensure_started function is nothing but webmachine's, this is a kind of paradigm followed by all well written Erlang apps.
After these changes, webmachine is started and flashed "Hello, new world" when I hit http://localhost:8000, may be I will push these changes to webmachine.
No comments:
Post a Comment
Thanks for reading and welcome for commenting...