This is a DNSimple add-on to send out monthly reports to all users opt-in into this add-on.
After cloning this repo please copy the example dev secrets and adjust it to your tokens:
cp config/dev.secret.exs-example config/dev.secret.exs
emacs config/dev.secret.exs
The E-Mail add-on is a Elixir Phoenix application. You will need Elixir (~> 1.3) and Postgres (~> 9.4) to run this.
To start the Phoenix app:
- Install dependencies with
mix deps.get
- Create and migrate your database with
mix ecto.create && mix ecto.migrate
- Install Node.js dependencies with
npm install
- Start Phoenix endpoint with
mix phoenix.server
Now you can visit localhost:4000
from your browser.
After you followed the steps above use mix test
to run the tests.
Start the app as usual mix phoenix.server
and then visit: http://localhost:4000/mailbox/