Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
blockscout/bin/deployment/build

26 lines
319 B

#!/usr/bin/env bash
set -e
cd /opt/app || exit 1
export HOME=/home/ec2-user
export MIX_ENV=prod
source /etc/environment
mix local.rebar --force
mix local.hex --force
mix deps.get
mix compile
# Install node dependencies
pushd apps/explorer || exit 1
npm install
popd
chown -R ec2-user:ec2-user /opt/app
exit 0