- ssh into ubuntu machine and pull the latest commit
ssh ubuntu@relay.chainweb.com
cd chainweb-relay-frontend
sudo git pull
- Change the branch to
main
and build for mainnet
git checkout main
npm run build
- Change the branch to
testnet
and build for testnet
git checkout testnet
npm run build:testnet
- Update the server
sudo nginx -s reload
The mainnet build will be served at https://relay.chainweb.com and testnet build will be served at https://relay.chainweb.com/testnet Confirm that each link serves the correct version.