Setting up a local test grid
- Create a directory for the grid:
mkdir tahoe-grid && cd tahoe-grid
- Create an introducer and start it, and then stop it, so that an introducer FURL is generated (we need this for the next step):
tahoe create-introducer --hostname localhost node-0
tahoe run node-0
^C
- Create a client node (serve WUI on a non-default port so as not to compete with your working tahoe installation):
tahoe create-node --hostname localhost -i $(cat node-0/private/introducer.furl) --no-storage -p 3460 -n node-1 node-1
- Create some storage nodes:
for i in {2..9}; do tahoe create-node --hostname localhost -i $(cat node-0/private/introducer.furl) -p none -n node-$i node-$i; done
- Start the grid!:
for i in {0..9}; do tahoe run node-$i & done
- Check it worked:
tahoe -d node-1 webopen