Skip to content

k1complete/app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

# App
Simple Application with Elixir


Building:

bash-3.2$ mix
Compiled lib/app.ex
Compiled lib/app/server.ex
Compiled lib/app/supervisor.ex
Generated app.app

Running: 

bash-3.2$ iex -S mix
Warning: could not run smart terminal, falling back to dumb one
Interactive Elixir (0.10.3-dev) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> App.start
:ok
iex(2)> :gen_server.call(:app_srv, {:ping})
{:pong}
iex(3)> :gen_server.call(:app_srv, {:bad_message})
** (exit) {:timeout, {:gen_server, :call, [:app_srv, {:bad_message}]}}
    gen_server.erl:180: :gen_server.call/2
    erl_eval.erl:569: :erl_eval.do_apply/6
    src/elixir.erl:138: :elixir.eval_forms/3

iex(3)> 

** TODO: Add description **

About

Simplest OTP Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages