Blockscout Explorer Install
Blockscout
Overview
Environment
DB Server
Blockscout Deployment Procedure
Part 1 - install dependencies
Update & upgrade system
Add erlang repos
Add NodeJS repo
Install Rust
Install required version of Erlang
Install required version of Elixir
Install NodeJS
Install Cargo
Install other dependencies
Optionally install postgresql client to check your db connection
Part 2 - set environment variables
Set database connection as environment variable
Part 3 - clone and compile Blockscout
Clone Blockscout repo
Generate secret key base to protect production build
Set production mode
Compile
Migrate databases
Install npm dependencies and compile frontend assets
Build static assets
Generate self-signed certificates
Part 4 - create and run Blockscout service
Create service file
Edit service file
Enable starting service on system boot
Move your Blockscout clone folder to system-wide location
Create env vars file which will be used by Blockscout service
Finally, start Blockscout service
Part 5 - test out the functionality of your Blockscout instance
Considerations
Final thoughts
Last updated