Note added: Hold on – I’m investigating a mis-configuration
Hi all! I am trying to deploy a Phoenix app to Heroku. I am getting this error:
== Compilation error on file lib/text_api/repo.ex == remote: ** (ArgumentError) missing :adapter configuration in config :text_api, TextApi.Repo remote: lib/ecto/repo/supervisor.ex:50: Ecto.Repo.Supervisor.compile_config/2 remote: lib/text_api/repo.ex:2: (module)
lib/text_api/repo.ex looks like this:
defmodule TextApi.Repo do use Ecto.Repo, otp_app: :text_api end
It is basically the same as in another app that I have deployed on Heroku – do you see what is wrong?
PS. The app works locally