My result after complete the course "Developing with Elixir/OTP" by Pragmatic Studio
-
Clone the repository:
git clone https://github.com/jurfest/elixir-otp-course.git cd elixir-otp-course
-
Install dependencies:
mix deps.get
-
Compile the project:
mix compile
To start your application:
mix run -e "Servy.HttpServer.start(4000)"
To run tests:
mix test
You can start an IEx session with your project’s dependencies and configuration loaded by running:
iex -S mix
Then you can start the server with
iex(1)> Servy.HttpServer.start(4000)
If available in Hex, the package can be installed
by adding servy
to your list of dependencies in mix.exs
:
def deps do
[
{:servy, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/servy.