The purpose of this project is to send emails if the CDP is approaching liquidation.
Clone the repo and cd
into it:
git clone [email protected]:MainframeHQ/cdp-pro-alerts.git
cd cdp-pro-alerts
- Install nix
- Run
nix-shell
- You're done!
- Install Elixir 1.8(+)
- Install Node.js 10(+)
- Install PostgreSQL 10(+)
- You're done!
Setup the database
initdb --no-locale --encoding=UTF-8
pg_ctl start
createuser postgres --createdb
Setup the project
mix deps.get
mix ecto.setup
iex -S mix phx.server