File: README

package info (click to toggle)
pygopherd 2.0.17
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,872 kB
  • ctags: 589
  • sloc: python: 3,872; makefile: 94; sh: 56
file content (44 lines) | stat: -rw-r--r-- 1,117 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
README for Pygopherd
===========================================================================

QUICKSTART (Debian)
-------------------

Use the .deb:

dpkg -i pygopherd.deb

or

apt-get install pygopherd

QUICKSTART (non-Debian)
-----------------------

1. Download and install Python 2.2 or above from www.python.org, if not already
   present on your system.

You can run pygopherd either in-place (as a regular user account) or
as a system-wide daemon.  For running in-place, do this:

1. Modify conf/pygopherd.conf:
   * Set usechroot = no
   * Comment out (add a # sign to the start of the line) the 
     pidfile, setuid, and setgid lines
   * Set mimetypes = ./conf/mime.types
   * Set root = to something appropriate.
   * Set port to a number greater than 1024.

2. Modify the first line of executables/pygopherd to reflect
   the location of your Python installation.

3. Invoke pygopherd by running:
   ./executables/pygopherd

For installing:

1. Run pytohn2.2 setup.py install

2. Make sure that the /etc/pygopherd/pygopherd.conf names valid users
   (setuid, setgid) and valid document root (root).