/[storm]/storm/README
ViewVC logotype

Diff of /storm/README

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by tuukkah, Fri Apr 25 15:24:00 2003 UTC revision 1.2 by tuukkah, Fri May 2 16:21:52 2003 UTC
# Line 24  Compile with command "make". Line 24  Compile with command "make".
24    
25    
26  Example of importing files into Storm, storing them on local disk directory:  Example of importing files into Storm, storing them on local disk directory:
27    mkdir ../test-pool
28  make import POOL=../test-pool CT=text/plain FILES=../files/*.txt  make import POOL=../test-pool CT=text/plain FILES=../files/*.txt
29    ls ../test-pool
30    
31  Example of starting the gateway for http clients:  Example of starting the gateway for http clients:
32  make http-gateway POOL=../test-pool  make http-gateway POOL=../test-pool
33    
34    
35    Example of setting up P2P:
36    start the peer that publishes:
37    @fishy:~/ff/storm$ make peer ARGS="-pub pool -port 2000"
38    
39    start a local peer that can fetch the blocks:
40    @fishy:~/ff/storm$ make peer ARGS="-gw 5000 -port 2001 localhost:2000"
41    
42    or, start a remote peer that can fetch the blocks:
43    @himalia:~/ff/storm$ make peer ARGS="-gw 5000 -port 2000 fishy.it.jyu.fi:2000"
44    
45    Notice, that the peer gateways can only list blocks that have already been
46    retrieved through them. So take the block id from http-gateway, or
47    from filenames in ../test-pool.

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26