Troubles getting started

オープン
#155 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
elixir, postgresql
領域
backend, tooling

調査の方向性

shared_repo.schema.exs と shared_repo.dev.conf から始め、次に mix conform.effective の出力を、umbrella アプリケーションの起動時に利用可能な設定と比較します。リポジトリ設定のエントリーポイントを追跡し、データベースキーが利用できない理由を特定してください。アプリケーションが期待される Ecto リポジトリ設定を維持したまま conform で起動すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Hi there,

I'm trying to get started for the first time with conform. Having some trouble with what I thought would be the easy part! :)

I have an umbrella app - one of the applications inside houses an ecto repo. I decided to try to start pulling in conform in that app as it would be easiest to know if something was broken.

I've created shared_repo.schema.exs and shared_repo.dev.conf. If I use mix conform.effective, I see some values I expect:

shared_repo: [
    {SharedRepo.Repo,
     [
       adapter: Ecto.Adapters.Postgres,
       database: "myapp_dev",
       hostname: "localhost",
       loggers: [
         {Ecto.LogEntry,
          :log,
          []}
       ],
       pool_size: 10
     ]},
    {:ecto_repos,
     [SharedRepo.Repo]}
  ]

However, when I attempt to boot the app, it blows up as it can't find a database key inside the configuration for the repo. I'm a bit confused and don't know what to do next. The app boots fine just using a standard config.exs and config.dev.exs.

Any help you could provide would be appreciated!

主要言語
Elixir
スター
379
フォーク
59
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

bitwalker/conform のほかの issue

bitwalker/conform の issue をすべて見る

似ている issue

Elixir の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。