/covenant

elixie phoenix example of command line tasks to generate CSVs

Primary LanguageElixir

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: