summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6a378c1)
raw | patch | inline | side by side (parent: 6a378c1)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 23 Jul 2001 08:53:44 +0000 (08:53 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 23 Jul 2001 08:53:44 +0000 (08:53 +0000) |
Move the installation notes to INSTALL
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@56 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@56 57a73879-2fb5-44c3-a270-3262357dd7e2
README | patch | blob | history | |
roundup-server | patch | blob | history |
index 9726db8a311a6428705011f1984fd21a919ac908..45a6b9c8a10921aea9a033b073deb33e112bddfc 100644 (file)
--- a/README
+++ b/README
management interface and presumably belongs to Digital Creations.
-TODO: Instructions need re-writing!!
-
-
2. Installation
===============
-These instructions work on redhat 6.2 and mandrake 8.0 - with the caveat
-that these systems don't come with python 2.0 or newer installed, so you'll
-have to upgrade python before this stuff will work.
-
-Roundup is configurable using a localconfig.py file. It may have the
-following variable declarations:
-
- ROUNDUP_HOME - This is the root directory for roundup
- MAILHOST - The SMTP mail host that roundup will use to send mail
- MAIL_DOMAIN - The domain name used for email addresses
-
-Any further configuration should be possible by editing config.py directly.
-The email addresses used by the system by default are:
-
- issue_tracker@MAIL_DOMAIN - submissions of issues
- roundup-admin@MAIL_DOMAIN - roundup's internal use (problems, etc)
-
-
-2.0 Prerequisites
------------------
-Either:
- . Python 2.0 with pydoc installed. See http://www.lfw.org/ for pydoc.
-or
- . Python 2.1
-
-Both need the bsddb module.
-
-
-2.1 Initial Setup
------------------
-
-
-2.2 Mail
---------
-Set up a mail alias called "issue_tracker" as:
- "|/usr/bin/python /home/httpd/html/roundup/roundup-mailgw <instance_home>"
-
-In some installations (e.g. RedHat 6.2 I think) you'll need to set up smrsh
-so sendmail will accept the pipe command. In that case, symlink
-/etc/smrsh/python to /usr/bin/python and change the command to:
- "|python /home/httpd/html/roundup/roundup-mailgw <instance_home>"
-
-
-2.3 Web Interface
------------------
-This software will work through apache or stand-alone.
-
-Stand-alone:
- 1. Edit server.py at the bottom to set your hostname and a port that is free.
- 2. "python server.py"
- 3. Load up the page "/" using the port number you set.
-
-Apache:
- 1. Make sure roundup.cgi is executable
- 2. Edit your /etc/httpd/conf/httpd.conf and make sure that the
- /home/httpd/html/roundup/roundup.cgi script will be treated as a CGI
- script.
- 3. Add the following to your /etc/httpd/conf/httpd.conf:
-------8<------- snip here ------8<-------
-RewriteEngine on
-RewriteCond %{HTTP:Authorization} ^(.*)
-RewriteRule ^/roundup/roundup.cgi(.*) /home/httpd/html/roundup/roundup.cgi$1 [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]
-------8<------- snip here ------8<-------
- note: the RewriteRule must be on one line - no breaks
- 4. Re-start your apache to re-load the config
- 5. Load up the page "/roundup/roundup.cgi/"
-
+For installation notes, please see the file INSTALL.TXT
3. Usage
3.1 Command-line
----------------
-The command-line tool is called "roundup.py" and is used for most low-level
+The command-line tool is called "roundup-admin" and is used for most low-level
database manipulations such as:
+ . creating a database instance
. redefining the list of products ("create" and "retire" commands)
. adding users manually, or setting their passwords ("create" and "set")
. other stuff - run it with no arguments to get a better description of
3.2 E-mail
----------
-See the docstring at the start of the roundup-mailgw.py source file.
+See the docstring at the start of the roundup/mailgw.py source file.
3.3 Web
=========
Well, Ping, of course ;)
-Anthony Baxter, for some good first-release feedback.
+Anthony Baxter, for some good first-release feedback. And then continuing
+support through development on sourceforge.
diff --git a/roundup-server b/roundup-server
index fb8a041c1141b1e659f8f43a457cddd4b292f5f2..3c30c63008d63bc691cea25e6936f98d61ef6ebe 100755 (executable)
--- a/roundup-server
+++ b/roundup-server
Stolen from CGIHTTPServer
-$Id: roundup-server,v 1.2 2001-07-23 04:05:05 anthonybaxter Exp $
+$Id: roundup-server,v 1.3 2001-07-23 08:53:44 richard Exp $
"""
import sys
#
# This indicates where the Roundup instance lives
-ROUNDUPS = {
+ROUNDUP_INSTANCE_HOMES = {
'test': '/tmp/roundup_test',
}
raise ValueError, 'No instance specified'
l_path = string.split(rest, '/')
instance = urllib.unquote(l_path[1])
- if ROUNDUPS.has_key(instance):
- instance_home = ROUNDUPS[instance]
+ if ROUNDUP_INSTANCE_HOMES.has_key(instance):
+ instance_home = ROUNDUP_INSTANCE_HOMES[instance]
module_path, instance = os.path.split(instance_home)
sys.path.insert(0, module_path)
try:
#
# $Log: not supported by cvs2svn $
+# Revision 1.2 2001/07/23 04:05:05 anthonybaxter
+# actually quit if python version wrong
+#
# Revision 1.1 2001/07/23 03:46:48 richard
# moving the bin files to facilitate out-of-the-boxness
#