From 2d230686d99c0d7e1894c451a1eda99e55a53055 Mon Sep 17 00:00:00 2001 From: Andrew Cravenho Date: Thu, 13 Sep 2018 12:45:24 -0400 Subject: [PATCH] add fields back and provide better docs --- README.md | 3 ++- apps/explorer/config/dev.secret.exs.example | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f4848d0361..23564abc3e 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,8 @@ The [development stack page](https://github.com/poanetwork/blockscout/wiki/Devel 3. Set up default configurations. `cp apps/explorer/config/dev.secret.exs.example apps/explorer/config/dev.secret.exs` `cp apps/block_scout_web/config/dev.secret.exs.example apps/block_scout_web/config/dev.secret.exs` -
Linux: Update the database username and password configuration in `apps/explorer/config/dev.secret.exs` +
Linux: Update the database username and password configuration in `apps/explorer/config/dev.secret.exs` +
Mac: Remove the `username` and `password` fields from `apps/explorer/config/dev.secret.exs`
Optional: Set up default configuration for testing. `cp apps/explorer/config/test.secret.exs.example apps/explorer/config/test.secret.exs` Example usage: Changing the default Postgres port from localhost:15432 if [Boxen](https://github.com/boxen/boxen) is installed. diff --git a/apps/explorer/config/dev.secret.exs.example b/apps/explorer/config/dev.secret.exs.example index e03b12ad7f..6d1ed7c96b 100644 --- a/apps/explorer/config/dev.secret.exs.example +++ b/apps/explorer/config/dev.secret.exs.example @@ -5,8 +5,8 @@ config :explorer, Explorer.Repo, adapter: Ecto.Adapters.Postgres, database: "explorer_dev", hostname: "localhost", - #username: "postgres", - #password: "", + username: "postgres", + password: "", loggers: [], pool_size: 20, pool_timeout: 60_000,