- run(local)
compose up -d
here - go to Docker Desktop or wherever you can interact with the container's terminal
- paste the test input for day N in
test/inputs/N-1.txt
, second part intest/inputs/N-2
- write your code at
lib/aoc.ex
under moduleAoc.DayN
- write the test for it at
test/aoc_test.exs
- run(container)
mix test
to see if your code is correct - paste the puzzle input for day N in
inputs/dayN.txt
- run(container)
iex -S mix
to open a interactive terminal with your code - run(container, in iex REPL) one of these :
Util.input_for_day(1) |> Aoc.Day1.first_part
Util.input_for_day(1) |> Aoc.Day1.second_part
- find your output
- answer that on AOC
- get that star ⭐ !