comparison demo.py @ 3868:483c3e335a54

print instructions for modifying demo tracker URL Add some explanatory text (copied from installation.txt with minor editing) about how to change the demo config to access the tracker from remote hosts.
author Justus Pendleton <jpend@users.sourceforge.net>
date Tue, 28 Aug 2007 22:37:45 +0000
parents d4112ddfc0bb
children a6fdaaa3a8bd
comparison
equal deleted inserted replaced
3867:2563ddf71cd7 3868:483c3e335a54
1 #! /usr/bin/env python 1 #! /usr/bin/env python
2 # 2 #
3 # Copyright (c) 2003 Richard Jones (richard@mechanicalcat.net) 3 # Copyright (c) 2003 Richard Jones (richard@mechanicalcat.net)
4 # 4 #
5 # $Id: demo.py,v 1.25 2006-08-07 07:15:05 richard Exp $ 5 # $Id: demo.py,v 1.26 2007-08-28 22:37:45 jpend Exp $
6 6
7 import errno 7 import errno
8 import os 8 import os
9 import socket 9 import socket
10 import sys 10 import sys
101 %s 101 %s
102 1. Log in as "demo"/"demo" or "admin"/"admin". 102 1. Log in as "demo"/"demo" or "admin"/"admin".
103 2. Hit Control-C to stop the server. 103 2. Hit Control-C to stop the server.
104 3. Re-start the server by running "roundup-demo" again. 104 3. Re-start the server by running "roundup-demo" again.
105 4. Re-initialise the server by running "roundup-demo nuke". 105 4. Re-initialise the server by running "roundup-demo nuke".
106
107 Demo tracker is set up to be accessed by localhost browser. If you
108 run demo on a server host, please stop the demo, open file
109 "demo/config.ini" with your editor, change the host name in the "web"
110 option in section "[tracker]", save the file, then re-run the demo
111 program.
112
106 ''' % url 113 ''' % url
107 114
108 # disable command line processing in roundup_server 115 # disable command line processing in roundup_server
109 sys.argv = sys.argv[:1] + ['-p', str(port), 'demo=' + home] 116 sys.argv = sys.argv[:1] + ['-p', str(port), 'demo=' + home]
110 roundup_server.run(success_message=success_message) 117 roundup_server.run(success_message=success_message)

Roundup Issue Tracker: http://roundup-tracker.org/