Difference between revisions of "BlockScout manual deployment"
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
cd apps/block_scout_web/assets; [[npm install]] && node_modules/webpack/bin/webpack.js --mode production; cd - | 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/explorer && npm install; cd - | ||
+ | |||
+ | [[mix phx.digest]] | ||
Revision as of 12:14, 9 March 2023
export DATABASE_URL=postgresql://user:password@localhost:5432/blockscout export SECRET_KEY_BASE=VTIB3uHDNbvrY0+60ZWgUoUBKDn9ppLR8MI4CpRz4/qLyEFs54ktJfaNT6Z221No
export ENABLE_RUST_VERIFICATION_SERVICE=true export RUST_VERIFICATION_SERVICE_URL=http://0.0.0.0:8043/
export ETHEREUM_JSONRPC_VARIANT=nethermind export ETHEREUM_JSONRPC_HTTP_URL=http://localhost:8545 export DATABASE_URL=postgresql://... export COIN=DAI export ...
git clone https://github.com/blockscout/blockscout && cd blockscout mix do deps.get, local.rebar --force, deps.compile
cargo install --git https://github.com/blockscout/blockscout-rs smart-contract-verifier-http smart-contract-verifier-http mix compile pg_ctl -D /usr/local/var/postgres start mix do ecto.create, ecto.migrate
cd apps/block_scout_web/assets; npm install && node_modules/webpack/bin/webpack.js --mode production; cd - cd apps/explorer && npm install; cd -
mix phx.digest
See also
Advertising: