How Can We Help?
Search for answers or browse our knowledge base.
How to upgrade a Bare Metal node
Upgrade Bare Metal
Stop pm2
gny process:
pm2 stop gny
Get newest gny version:
# leave gny directory
cd ..
# delete gny directory
rm -rf gny
# clone repository
git clone https://github.com/gnyio/gny-experiment gny-experiment && cd $_
Checkout the corresponding branch:
:::: tabs
::: tab mainnet
git checkout mainnet
:::
::: tab testnet
git checkout testnet
:::
::::
Compile project
npm ci &&
npm run lerna:bootstrap &&
npm run lerna:tsc
Restart GNY node
# start gny
pm2 start --name gny npm -- start