Create scrapper app

This commit is contained in:
2024-04-30 22:42:31 +02:00
parent 25293c298c
commit 072c5f85b8
8 changed files with 132 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
defmodule Scrapper.Application do
# See https://hexdocs.pm/elixir/Application.html
# for more information on OTP Applications
@moduledoc false
use Application
@impl true
def start(_type, _args) do
children = [
# Starts a worker by calling: Scrapper.Worker.start_link(arg)
# {Scrapper.Worker, arg}
]
# See https://hexdocs.pm/elixir/Supervisor.html
# for other strategies and supported options
opts = [strategy: :one_for_one, name: Scrapper.Supervisor]
Supervisor.start_link(children, opts)
end
end