Closed danieljaouen closed 5 months ago
It looks like it is not able to find a configured Ecto repo.
Can you double check that you completed the last step of the installation instructions that specifies the repo in your app config? e.g. config :live_admin, ecto_repo: MyApp.Repo
Yep. My config/runtime.exs
has the following at the bottom of the file:
config :live_admin, ecto_repo: DocumentStore.Repo
If you console into your app in the same environment you are getting the error and run Application.fetch_env(:live_admin)
what is the output?
Also what is the output of mix deps
for live_admin
I figured it out. I had the config call inside the if
statement in runtime.exs
that checks if it's running in the prod
environment. Sorry for the mix-up!
No problem, glad you figured it out!
Describe the bug
The code:
The bug:
Not sure what the problem is here. Any help?