To deploy Symmio Subgraphs seamlessly, utilize the provided Python script alongside the desired config file.
You can specify which subgraphs to deploy. For example, to deploy only the main
subgraph:
python deployer.py configs/bnb_8.json main
To deploy both main
and parties
subgraphs:
python deployer.py configs/bnb_8.json main parties
If you want to deploy all subgraphs (analytics
, main
, and parties
):
python deployer.py configs/bnb_8.json --all
Note: You must specify at least one subgraph or use the --all
flag, else the script will not proceed.
In situations where you wish to have everything set up for deployment but prefer not to deploy it immediately on the hosted service, use the --prepare-only
flag:
python deployer.py configs/bnb_8.json --all --prepare-only
Or, for specific subgraphs:
python deployer.py configs/bnb_8.json main parties --prepare-only