mirror of
https://github.com/pezkuwichain/pezkuwi-subquery.git
synced 2026-04-22 03:07:57 +00:00
Initial commit: Pezkuwi SubQuery indexer
- pezkuwi.yaml: Relay chain staking indexer (rewards, slashes, pools, transfers, era info) - pezkuwi-assethub.yaml: Asset Hub indexer (NominationPools, asset transfers) - GraphQL schema for staking data entities - Handler mappings from Nova SubQuery base
This commit is contained in:
Executable
+24
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
SCRIPT_PATH=$(dirname "$0")
|
||||
|
||||
cd ${SCRIPT_PATH}
|
||||
|
||||
if [ -z $1 ]; then
|
||||
echo "Provide a path to project-{name}.yaml file"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
export PROJECT_PATH=$1
|
||||
|
||||
docker rm -f $(docker-compose ps -a -q)
|
||||
sudo rm -rf .data/
|
||||
sudo rm -rf dist/
|
||||
|
||||
# If any command bellow will fail - script will stop
|
||||
set -e
|
||||
|
||||
yarn
|
||||
yarn codegen
|
||||
yarn build
|
||||
yarn start:docker
|
||||
Reference in New Issue
Block a user