source: TI05-delivery/trunk/README @ 1443

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI05-delivery/trunk/README
Revision 1443, 1.4 KB checked in by spascoe, 13 years ago (diff)

Bug fix for installing with setuptools + updated README.

Line 
1You can build bbftp in 2 ways from this directory.  Either stand-alone client and server, with
2NDG authorisation extensions and a dummy auth/authz module, or in embedded python mode.
3
4stand-alone client & server
5===========================
6
7$ make -C src
8
9   This will configure and build bbftp client and server executables
10   without Python integration.  We need to do this first to configure the
11   bbftp source and because the bbftp client is needed for the test cases.
12
13$ test/test_bbftpd.py
14
15   Run the stand-alone executable tests.
16
17embedded python mode
18====================
19
20 1. Select a suitable python to install into.
21
22    If you don't want to install into your default python
23    (recommended!) you can create a local copy of your global python
24    setup using the virtual-python.py script:
25
26    $ python ./virtual-python.py --prefix=./vpython
27    $ export PATH=./vython/bin:$PATH
28
29    installed packages will now be put in the ./vpython tree.  This is a good way of
30    testing the installation locally.
31   
32 2. Run the install script
33
34    $ python setup.py install
35
36    If you don't have setuptools installed this will download and install it automatically.
37
38 3. Run the test cases.
39
40    $ test/test_embedded.py
41
42    These test cases run the client and server locally.
43
44    $ test/test_remote.py
45
46    These test cases ask for a remote host which has the delivery service installed.
Note: See TracBrowser for help on using the repository browser.