The Tahoe-LAFS decentralized secure filesystem.
Go to file
2007-04-04 11:18:38 -07:00
bin change #!/usr/bin/python to #!/usr/bin/env python 2007-03-29 14:01:28 -07:00
dapper/debian debian: add python-twisted, python-nevow, python-pyopenssl to the dapper dependencies 2007-03-29 12:22:14 -07:00
docs add the 'Denver Airport' design doc, for Chord-based peer selection 2006-12-01 19:09:14 -07:00
feisty/debian update feisty packaging 2007-03-29 14:48:42 -07:00
misc change #!/usr/bin/python to #!/usr/bin/env python 2007-03-29 14:01:28 -07:00
pyfec pyfec: tidy-up: #include the appropriate header 2007-04-09 16:16:18 -07:00
sid/debian debian: add python-nevow to the sid dependencies 2007-03-29 12:22:41 -07:00
src tidiness: return res from logging of progress 2007-04-02 10:23:24 -07:00
twisted/plugins change #!/usr/bin/python to #!/usr/bin/env python 2007-03-29 14:01:28 -07:00
.darcs-boringfile update feisty packaging 2007-03-29 14:48:42 -07:00
client.tac clients now get the queen's pburl from a file named roster_pburl, not hardcoded in the .tac file 2006-12-04 04:27:40 -07:00
GNUmakefile port the makefile to Windows and update the README 2007-04-04 11:18:38 -07:00
MANIFEST.in add distutils-based packaging 2006-12-05 01:29:26 -07:00
queen.tac add beginning queen code 2006-11-30 15:39:24 -07:00
README port the makefile to Windows and update the README 2007-04-04 11:18:38 -07:00
roadmap.txt add Operations/Deployment for first open source release 2007-04-03 10:32:47 -07:00
setup.py change #!/usr/bin/python to #!/usr/bin/env python 2007-03-29 14:01:28 -07:00
simulator.py change #!/usr/bin/python to #!/usr/bin/env python 2007-03-29 14:01:28 -07:00
sizes.py change #!/usr/bin/python to #!/usr/bin/env python 2007-03-29 14:01:28 -07:00
TODO TODOs 2007-03-30 10:52:11 -07:00

Welcome to the AllMyData "tahoe" project. This project implements a
scalable distributed fault-tolerant filestore.

The main application code is in the 'allmydata' package, under src/allmydata/
. There is also a patched version of PyCrypto (adding a faster CTR-mode) in
src/Crypto/ which gets installed to the 'allmydata.Crypto' package (since the
API is different than the normal Crypto package). It also includes Zooko's
PyFEC library, a fast python wrapper around the Rizzo 'fec' C library,
installed to the 'pyfec' package and located in src/pyfec/ .

DEPENDENCIES:

 Python 2.4 or newer (tested against both 2.4 and 2.5)
  http://python.org/
 Twisted (probably 2.4.0 or newer)
  http://twistedmatrix.com/
  The default subpackages should all be included by default, but in
    case they aren't they are the following:
   * core (the standard Twisted package)
   * web, trial, conch
  Note that Twisted requires zope.interface, and that the standard
  batteries-included Twisted distribution includes a copy.
 Foolscap (probably 0.0.7 or newer)
  - note: since the Foolscap wire protocol is not yet compatible from one
    release to the next, make sure all of your nodes are using the same
    version of Foolscap
  http://twistedmatrix.com/trac/wiki/FoolsCap
 Nevow (probably 0.9.0 or later)
  http://divmod.org/trac/wiki/DivmodNevow
 PyOpenSSL (0.6 or later)
  http://pyopenssl.sourceforge.net

 a C compiler (if building on Windows, cygwin gcc with mingw32 support)
  http://gcc.gnu.org/
  http://www.cygwin.com/
 GNU make

BUILDING:

 Just type 'make'. This works on Windows too, provided that you have the 
 dependencies mentioned above.  If the desired version of 'python' is not 
 already on your PATH, then type 'make PYTHON=/path/to/your/preferred/python'.

 'make test' runs the unit test suite.

 'make deb-dapper' or 'make deb-sid' will construct a debian package named
 'allmydata-tahoe'.

RUNNING:

 If you installed one of the debian packages constructed by "make deb-*" then 
 it creates an 'allmydata-tahoe' executable, usually in /usr/bin . If you 
 didn't install a package you can find allmydata-tahoe in instdir/scripts.  
 This tool is used to create, start, and stop nodes.  

 Somewhere in your mesh there must be a central 'queen' node. This is
 constructed by running 'allmydata-tahoe create-queen --basedir WHERE'. Once
 constructed, you can start the queen by running 'allmydata-tahoe start
 --basedir WHERE'. Inside that base directory, there will be a pair of files
 'introducer.furl' and 'vdrive.furl'. Make a copy of these, as they'll be
 needed on the client nodes.

 To construct a client node, pick a new working directory for it, then run
 'allmydata-tahoe create-client --basedir $HERE'. Copy the two .furl files
 from the queen into this new directory, then run 'allmydata-tahoe start
 --basedir $HERE'. After that, the client node should be off and running. The
 first thing it will do is connect to the queen and introduce itself to all
 other nodes on the mesh. You can follow its progress by looking at the
 $HERE/twistd.log file.

 To actually use the client, enable the web interface by writing a port
 number (like "8080") into a file named $HERE/webport and then restarting the
 node with 'allmydata-tahoe restart --basedir $HERE'. This will prompt the
 client node to run a webserver on the desired port, through which you can
 view, upload, download, and delete files.