# Upgrade Bare Metal
Stop pm2
gny process:
pm2 stop gny
1
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 $_
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
Checkout the corresponding branch:
# Compile project
npm ci && \
npm run lerna:bootstrap && \
npm run lerna:tsc
1
2
3
2
3
# Restart GNY node
# start gny
pm2 start --name gny npm -- start
1
2
2
← Manage node API →