| | 1 | == Setting up a local test grid == |
| | 2 | |
| | 3 | 1. Create a directory for the grid: |
| | 4 | |
| | 5 | {{{ mkdir tahoe-grid && cd tahoe-grid }}} |
| | 6 | |
| | 7 | 2. Create an introducer and start it so that an introducer FURL is generated (we need this for the next step): |
| | 8 | |
| | 9 | {{{ |
| | 10 | tahoe create-introducer node-0 |
| | 11 | tahoe start node-0 && tahoe stop node-0 |
| | 12 | }}} |
| | 13 | |
| | 14 | 3. Create a client node (serve WUI on a non-default port so as not to compete with your working tahoe installation): |
| | 15 | |
| | 16 | {{{ tahoe create-node -i `cat node-0/introducer.furl` --no-storage -p 3460 -n node-1 node-1 }}} |
| | 17 | |
| | 18 | 4. Create some storage nodes: |
| | 19 | |
| | 20 | {{{ for i in {2..9}; do tahoe create-node -i `cat node-0/introducer.furl` -p none -n node-$i node-$i; done }}} |
| | 21 | |
| | 22 | 5. Start the grid!: |
| | 23 | |
| | 24 | {{{ for i in {0..9}; do tahoe start node-$i; done }}} |
| | 25 | |
| | 26 | 6. Check it worked: |
| | 27 | |
| | 28 | {{{ tahoe webopen -d node-1 }}} |