From 45bd6965e01a08fd5d66922258ffb757f60abe0b Mon Sep 17 00:00:00 2001 From: Andrew Cravenho Date: Thu, 13 Sep 2018 11:19:44 -0400 Subject: [PATCH] update readme with deployment fixes --- README.md | 8 +++++++- apps/explorer/config/dev.secret.exs.example | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a35d5215ae..f4848d0361 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,7 @@ The [development stack page](https://github.com/poanetwork/blockscout/wiki/Devel * [Libtool](https://www.gnu.org/software/libtool/) * For Mac OSX users: `brew install libtool` * GitHub for code storage +* [Inotify-tools](https://github.com/rvoicilas/inotify-tools/wiki) for Linux users only ### Build and Run @@ -57,7 +58,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` + `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`
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. @@ -106,6 +108,10 @@ _Additional runtime options:_ * `apps/explorer/config/prod/parity.exs` * `apps/indexer/config/dev/parity.exs` * `apps/indexer/config/prod/parity.exs` + + 5. Update the dropdown menu in the main navigation `apps/block_scout_web/lib/block_scout_web/templates/layout/_topnav.html.eex` + + 6. Update the coin in `apps/explorer/config/config.exs`. This will pull relevant information from Coinmarketcap.com. ### Umbrella Project Organization diff --git a/apps/explorer/config/dev.secret.exs.example b/apps/explorer/config/dev.secret.exs.example index 6d1ed7c96b..e03b12ad7f 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,