Skip to content

Commit

Permalink
add: exploroer deployment doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Tl committed Aug 29, 2023
1 parent ec3a516 commit 761288a
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions docs/devops/explorer.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,65 @@ sidebar_position: 4
import useBaseUrl from "@docusaurus/useBaseUrl";

# Explorer
BlockScan is a explorer for ETH compatible chain like [Axon](https://github.com/nervosnetwork/axon) Side Chain which is a layer2 network build on [Nervos Network](https://www.nervos.org/) [CKB](https://github.com/nervosnetwork/ckb)

You can deploy explorer to query information on the axon chain and observe the status of the axon chain



### Deployment

#### More diverse deployment methods, gradually developed

#### Docker-compose

##### 1. Clone blockscan to target machine

``` shell
git clone https://github.com/Magickbase/blockscan.git
cd blockscan
```



##### 2. Edit the config config

- blockscan/dev.env

```shell
ETHEREUM_JSONRPC_VARIANT=geth


ETHEREUM_JSONRPC_HTTP_URL=https://axon1.layerview.io/
# Http address of axon rpc
ETHEREUM_JSONRPC_TRACE_URL=https://axon1.layerview.io/
# Http address of axon rpc
DATABASE_URL=postgresql://postgres:postgres123@db:5432/blockscan?ssl=false
# DATABASE_URL=postgresql://postgres:[email protected]:5432/blockscan?ssl=false

```



##### 3. Execute one-click deployment

```shell
cd ./bolockscan
sudo docekr-compose up -d
```



##### 4. Access explorer

```shell
http://xxxx:4020
```

<img alt="Untitled" src={useBaseUrl("Axon Faucet interface.png")} width="80%"/>





🛠 This page is a work in progress. 🚧
Binary file added static/img/devops/Axon Explorer interface.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 761288a

Please sign in to comment.