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

« back to all changes in this revision

Viewing changes to bin/ivle-config

  • Committer: William Grant
  • Date: 2009-03-17 03:43:52 UTC
  • Revision ID: grantw@unimelb.edu.au-20090317034352-tiv0h96wmx39fwh4
Expose jQuery in our URL space.

Adds the concept of external media files, which are static files that we
pull in from third-party dependencies and serve under /+media/+external.

A new config option (media/externals/jquery) has been added to specify
where to find jquery.js - it defaults to /usr/share/javascript/jquery,
which is both a generally sane location and also the Debian/Ubuntu one.

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
 
78
88
config_options.append(ConfigOption("paths/data",
79
89
    "/var/lib/ivle",
80
90
    "In the local file system, where user-modifiable data files should be "
92
102
# In the local file system, where IVLE error logs should be located.""",
93
103
    ask=False))
94
104
 
95
 
config_options.append(ConfigOption("urls/public_host",
96
 
    "public.ivle.localhost",
 
105
config_options.append(ConfigOption("urls/public_host", "public.localhost",
97
106
    """Hostname which will cause the server to go into "public mode",
98
107
providing login-free access to student's published work:""",
99
108
    """
178
187
# other modules may be plugged in to pulldown against organisation-specific
179
188
# pulldown backends.""", ask=False))
180
189
 
181
 
config_options.append(ConfigOption("urls/svn_addr",
182
 
    "http://svn.ivle.localhost/",
 
190
config_options.append(ConfigOption("urls/svn_addr", "http://svn.localhost/",
183
191
    """Subversion config
184
192
=================
185
193
The base url for accessing subversion repositories:""",
379
387
[ivle.webapp.tos#Plugin]
380
388
[ivle.webapp.userservice#Plugin]
381
389
[ivle.webapp.fileservice#Plugin]
382
 
[ivle.webapp.submit#Plugin]
383
390
""")
384
391
    plugindefault.close()
385
392
    print "Successfully wrote %s" % plugindefaultfile