gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] storm README


From: Tuukka Hastrup
Subject: [Gzz-commits] storm README
Date: Fri, 02 May 2003 12:21:53 -0400

CVSROOT:        /cvsroot/storm
Module name:    storm
Changes by:     Tuukka Hastrup <address@hidden> 03/05/02 12:21:52

Modified files:
        .              : README 

Log message:
        example of setting up P2P

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/storm/storm/README.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: storm/README
diff -u storm/README:1.1 storm/README:1.2
--- storm/README:1.1    Fri Apr 25 11:24:00 2003
+++ storm/README        Fri May  2 12:21:52 2003
@@ -24,7 +24,24 @@
 
 
 Example of importing files into Storm, storing them on local disk directory:
+mkdir ../test-pool
 make import POOL=../test-pool CT=text/plain FILES=../files/*.txt
+ls ../test-pool
 
 Example of starting the gateway for http clients:
 make http-gateway POOL=../test-pool
+
+
+Example of setting up P2P:
+start the peer that publishes:
address@hidden:~/ff/storm$ make peer ARGS="-pub pool -port 2000"
+
+start a local peer that can fetch the blocks:
address@hidden:~/ff/storm$ make peer ARGS="-gw 5000 -port 2001 localhost:2000"
+
+or, start a remote peer that can fetch the blocks:
address@hidden:~/ff/storm$ make peer ARGS="-gw 5000 -port 2000 
fishy.it.jyu.fi:2000"
+
+Notice, that the peer gateways can only list blocks that have already been 
+retrieved through them. So take the block id from http-gateway, or 
+from filenames in ../test-pool.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]