Commit 3da81bb2 authored by MigueKun's avatar MigueKun

Update README.md

parent 7a3ad991
......@@ -136,22 +136,15 @@ We use [Terraform](https://www.terraform.io/intro/getting-started/install.html)
9. Update your JSON RPC Endpoint in `apps/explorer/config/prod/` and `apps/indexer/config/prod/`
For the `variant` chosen in step 8, enter the correct information for the corresponding JSON RPC Endpoint in `parity.exs`, `geth.exs`, or `ganache.exs`
10. Start Phoenix Server.
`./start.sh`
10. Start Phoenix Server as service:
It has a preconfigure settings for enviroment, changes can be made directly without editing the config files:
Edit environment file to meet your system settings: [environment](https://git.pirl.io/community/explorer-blockscout/blob/master/environment)
```
export PORT=80
export ETHEREUM_JSONRPC_CASE="EthereumJSONRPC.Case.Geth.HTTPWebSocket"
export ETHEREUM_JSONRPC_WEB_SOCKET_CASE="EthereumJSONRPC.WebSocket.Case.Geth"
export ETHEREUM_JSONRPC_HTTP_URL="http://localhost:8545"
export ETHEREUM_JSONRPC_TRACE_URL="http://localhost:8545"
export ETHEREUM_JSONRPC_WS_URL="ws://localhost:8546"
export ETHEREUM_JSONRPC_VARIANT=geth
export COIN=PIRL
export MIX_ENV=prod
mix phx.server
cp blockscout.service /etc/systemd/system/blockscout.service
systemctl daemon-reload
systemctl enable blockscout.service
systemctl start blockscout.service
```
Now you can visit `serverip:80`.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment