Mercurial > p > roundup > code
diff roundup/demo.py @ 4889:edd6cac141c1
demo.py: `nuke` resets the tracker, not the server, also rewrote
paragraph about editing host name in demo config
| author | anatoly techtonik <techtonik@gmail.com> |
|---|---|
| date | Mon, 14 Apr 2014 15:00:34 +0300 |
| parents | 9db31cba6e0b |
| children | c3a647a9f387 |
line wrap: on
line diff
--- a/roundup/demo.py Mon Apr 14 15:11:21 2014 +0300 +++ b/roundup/demo.py Mon Apr 14 15:00:34 2014 +0300 @@ -127,13 +127,12 @@ 1. Log in as "demo"/"demo" or "admin"/"admin". 2. Hit Control-C to stop the server. 3. Re-start the server by running "%(script)s" again. -4. Re-initialise the server by running "%(script)s nuke". +4. Reset the tracker by running "%(script)s nuke". -Demo tracker is set up to be accessed by localhost browser. If you -run demo on a server host, please stop the demo, open file -"%(datadir)s/config.ini" with your editor, change the host name in the "web" -option in section "[tracker]", save the file, then re-run the demo -program. If you want to change backend types, you must use "nuke". +Demo tracker is set up to be accessed from localhost. If run it on a +server, please edit "%(datadir)s/config.ini" and set the +"web" option in section "[tracker]" to your host name, then restart +demo. If you want to change backend types, you must use "nuke". ''' % dict(url=url, script=sys.argv[0], datadir=TRACKER_HOME)
