Our first application
Set up MyApp
Remember the keyword use
. We’ll use it to add functionality to the MyApp
module.
Let’s open up my_app.ex
. It is in the lib
directory.
# my_app.ex
defmodule MyApp do
use Application
def start(_type, _args) do
end
end
We will tell my app to use
the Application
module.
Next step:
Go on to Interacting with iex.
Or:
Go back to Testing.