Skip to content
This repository was archived by the owner on Oct 13, 2021. It is now read-only.
This repository was archived by the owner on Oct 13, 2021. It is now read-only.

Database credentials for dev config? #642

@thojanssens

Description

@thojanssens

Hello, I am a beginner in Elixir/Phoenix and I am having a look at your project for learning purposes.

I want to create/migrate the database but I have an error:
$ mix ecto.create

** (RuntimeError) connect raised KeyError exception: key :username not found.

One can quickly see that there are missing parameters specifying username/password:
https://github.com/thoughtbot/constable/blob/master/config/dev.exs#L41

How does it work? Where does it get the credentials from? I guess I'm not supposed to add options myself by editing the code?

Thank you for any help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationIssues/PRs related to documentationquestionIssues which are questions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions