Covenant
This is an elixir phoenix app that requires erlang to be installed
- Install erlang with:
brew install erlang
- Install elixir with:
brew install elixir
Inside the repo folder run:
- Install dependencies with
mix deps.get
- Install Node.js dependencies with
cd assets && npm install
- Start Phoenix endpoint with
iex -S mix phx.server
Now you can visit localhost:4000
from your browser.
If that works, all dependencies are installed properly
To generate yields.csv
and assignments.csv
run: mix process_loans
. The files will be generated in ./reference_data/large
folder
Learn more about elixir and phoenix:
- Official website: https://www.phoenixframework.org/
- Guides: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Forum: https://elixirforum.com/c/phoenix-forum
- Source: https://github.com/phoenixframework/phoenix