Skip to content

Configuration in Livebook #1139

Answered by josevalim
Darth-Knoppix asked this question in Q&A
Discussion options

You must be logged in to vote

Mix.install/2 has a config option as second argument. So you can do:

Mix.install(
  [:ecto],
  config: [
    app: ...
  ]
)

But in the Ecto case, I just wouldn't use config. Instead I would pass they all as option on the use Ecto.Repo or on start_link.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Darth-Knoppix
Comment options

Answer selected by Darth-Knoppix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants