forked from blockscout/blockscout
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.sh
executable file
·52 lines (33 loc) · 1.41 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
git pull
rm -r apps/block_scout_web/priv/static
mix do deps.get, local.rebar --force, deps.compile, compile
cd apps/block_scout_web/assets; npm install && node_modules/webpack/bin/webpack.js --mode production; cd -
cd apps/explorer && npm install; cd -
cd apps/block_scout_web; cd -
export 'COIN=ETH'
echo 'COIN=ETH'
export 'ETHEREUM_JSONRPC_VARIANT=geth'
echo 'ETHEREUM_JSONRPC_VARIANT=geth'
export 'ETHEREUM_JSONRPC_HTTP_URL=http://167.86.95.197:8547'
echo 'ETHEREUM_JSONRPC_HTTP_URL=http://167.86.95.197:8547'
export 'ETHEREUM_JSONRPC_WS_URL=ws://167.86.95.197:8548'
echo 'ETHEREUM_JSONRPC_WS_URL=ws://167.86.95.197:8548'
export "BLOCKSCOUT_VERSION=V1.1.0 - Xerom"
echo "BLOCKSCOUT_VERSION=V1.1.0 - Xerom"
export 'LINK_TO_OTHER_EXPLORERS=false'
echo 'LINK_TO_OTHER_EXPLORERS=false'
export 'RELEASE_LINK=https://github.com/poanetwork/blockscout/releases/tag/${BLOCKSCOUT_VERSION}
'
echo 'RELEASE_LINK=https://github.com/poanetwork/blockscout/releases/tag/${BLOCKSCOUT_VERSION}
'
export 'SUBNETWORK=XERO'
echo 'SUBNETWORK=XERO'
export 'NETWORK=Mainnet'
echo 'NETWORK=Mainnet'
export 'ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=0.3'
echo 'ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=0.3'
export 'TXS_COUNT_CACHE_PERIOD=1'
echo 'TXS_COUNT_CACHE_PERIOD=1 * 1 * 1'
export 'CHAIN_SPEC_PATH=chainspec.json'
echo 'CHAIN_SPEC_PATH=chainspec.json'
export 'EMISSION_FORMAT=STANDARD'
echo 'EMISSION_FORMAT=STANDARD'
mix phx.server