~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to bin/ivle-config

  • Committer: William Grant
  • Date: 2009-12-10 09:47:38 UTC
  • Revision ID: grantw@unimelb.edu.au-20091210094738-pa4yrieyb9ynigej
Clean up and correct the admin scripts documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
# ('/usr/local' for the usual install, '/usr' for distribution packages)""",
76
76
    ask=False))
77
77
 
78
 
config_options.append(ConfigOption("paths/site_packages",
79
 
    None,
80
 
    """site-packages directory in Python, where Python libraries are to be
81
 
installed. May be left as the default, in which case the value will be
82
 
computed from prefix and the current Python version:""",
83
 
    """
84
 
# 'site-packages' directory in Python, where Python libraries are to be
85
 
# installed. May be omitted (recommended), in which case the value will be
86
 
# computed from prefix and the current Python version.""", ask=False))
87
 
 
88
78
config_options.append(ConfigOption("paths/data",
89
79
    "/var/lib/ivle",
90
80
    "In the local file system, where user-modifiable data files should be "
102
92
# In the local file system, where IVLE error logs should be located.""",
103
93
    ask=False))
104
94
 
105
 
config_options.append(ConfigOption("urls/public_host", "public.localhost",
 
95
config_options.append(ConfigOption("urls/public_host",
 
96
    "public.ivle.localhost",
106
97
    """Hostname which will cause the server to go into "public mode",
107
98
providing login-free access to student's published work:""",
108
99
    """
187
178
# other modules may be plugged in to pulldown against organisation-specific
188
179
# pulldown backends.""", ask=False))
189
180
 
190
 
config_options.append(ConfigOption("urls/svn_addr", "http://svn.localhost/",
 
181
config_options.append(ConfigOption("urls/svn_addr",
 
182
    "http://svn.ivle.localhost/",
191
183
    """Subversion config
192
184
=================
193
185
The base url for accessing subversion repositories:""",
290
282
    (opts, args) = getopt.gnu_getopt(args, "", optnames)
291
283
 
292
284
    if args != []:
293
 
        print >>sys.stderr, "Invalid arguments:", string.join(args, ' ')
 
285
        print >>sys.stderr, "Invalid arguments:", ' '.join(args)
294
286
        return 2
295
287
 
296
288
    if opts == []:
387
379
[ivle.webapp.tos#Plugin]
388
380
[ivle.webapp.userservice#Plugin]
389
381
[ivle.webapp.fileservice#Plugin]
 
382
[ivle.webapp.submit#Plugin]
390
383
""")
391
384
    plugindefault.close()
392
385
    print "Successfully wrote %s" % plugindefaultfile