update readme with deployment fixes

pull/723/head
Andrew Cravenho 6 years ago
parent c1304bf488
commit 45bd6965e0
  1. 6
      README.md
  2. 4
      apps/explorer/config/dev.secret.exs.example

@ -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
@ -58,6 +59,7 @@ 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`
<br />Linux: Update the database username and password configuration in `apps/explorer/config/dev.secret.exs`
<br />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.
@ -107,6 +109,10 @@ _Additional runtime options:_
* `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
This repository is an [umbrella project](https://elixir-lang.org/getting-started/mix-otp/dependencies-and-umbrella-projects.html). Each directory under `apps/` is a separate [Mix](https://hexdocs.pm/mix/Mix.html) project and [OTP application](https://hexdocs.pm/elixir/Application.html), but the projects can use each other as a dependency in their `mix.exs`.

@ -5,8 +5,8 @@ config :explorer, Explorer.Repo,
adapter: Ecto.Adapters.Postgres,
database: "explorer_dev",
hostname: "localhost",
username: "postgres",
password: "<REPLACE WITH THE PASSWORD YOU CHOSE>",
#username: "postgres",
#password: "<REPLACE WITH THE PASSWORD YOU CHOSE>",
loggers: [],
pool_size: 20,
pool_timeout: 60_000,

Loading…
Cancel
Save