Skip to content

Commit

Permalink
[dag inspector] fixed the template
Browse files Browse the repository at this point in the history
  • Loading branch information
welbon committed Jun 26, 2024
1 parent f1a00ee commit 94e4f3e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docker-compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ Following file: [[es_pipeline.scripts](..%2Fkube%2Fmappings%2Fes_pipeline.script
2. Navigate to 'Dev Tools'
3. Follow the instructions in the file of giving above to add the template to ES

### Add SQL tables for network
[IMPORTANT!!] Add the [tables](../starcoin-indexer/deploy/create_table.sql) for the network you want to scan, including main, barnard, halley, etc.

## 4. Start starcoin-scan-api project

### Config the startup enviroment variable
Expand All @@ -55,3 +58,6 @@ STARCOIN_USER_DS_URL="jdbc:postgresql://localhost/starcoin?currentSchema=starcoi
DB_USER_NAME=starcoin
DB_PWD=starcoin
```

### Add SQL tables for network
[IMPORTANT!!] Add the [tables](../starcoin-scan-api/deploy/create_table.sql) for the network you want to scan, including main, barnard, halley, etc.
4 changes: 2 additions & 2 deletions kube/mappings/es_pipeline.scripts
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ PUT _component_template/block-mappings
}
}

PUT _component_template/dag_inspector_edge-mappings
PUT _component_template/dag_inspector_height_group-mappings
{
"template": {
# copy dag_inspector_edge.mapping.json to here.
# copy dag_inspector_height_group.mapping.json to here.
}
}
4.
Expand Down

0 comments on commit 94e4f3e

Please sign in to comment.