- Run
docker build --tag nasa .
- Access the container
docker run -it nasa bash
- Install Elixir version 1.11.3 (Oficial documentation).
https://elixir-lang.org/install.html
- Install Erlang version 22.0.7 (Oficial documentation).
https://erlang.org/doc/installation_guide/INSTALL.html
- Move to the repository directory
cd nasa
- Install dependencies
mix deps.get
- Build the app
mix escript.build
./nasa < test/nasa/fixtures/template_file.txt
If you need some help you can run:
./nasa --help
Into the project directory
mix test