From fc79e0a63f3fdb17f4b32cbca58d6eb5d2b4586b Mon Sep 17 00:00:00 2001 From: Alejandro Cabeza Romero Date: Thu, 24 Apr 2025 13:40:40 +0200 Subject: [PATCH] Add steps to run --- sz-poc-offsite-2025/blockscout/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sz-poc-offsite-2025/blockscout/README.md b/sz-poc-offsite-2025/blockscout/README.md index 7947862..ac45ed9 100644 --- a/sz-poc-offsite-2025/blockscout/README.md +++ b/sz-poc-offsite-2025/blockscout/README.md @@ -1,5 +1,12 @@ Source: https://github.com/blockscout/blockscout\ Commit: c127c64f6cc0599df4a7aec4fa32e74dfb08206b + +### Steps to Run +1. Install project deps +2. docker run --name postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_USER=postgres -p 5432:5432 -d postgres +3. PGPASSWORD=postgres PGUSER=postgres ETHEREUM_JSONRPC_HTTP_URL=http://localhost:8545 MIX_ENV=dev mix do ecto.create, ecto.migrate +4. PGPASSWORD=postgres PGUSER=postgres ETHEREUM_JSONRPC_HTTP_URL=http://localhost:8545 MIX_ENV=dev mix phx.server + ---

Blockscout