source: indico/INSTALL @ fa0a08

burotelhello-world-walkthroughipv6new-webexprov-dual-interfacev0.97-seriesv0.98-seriesv0.98.2v0.98.3v0.98b1v0.98b2v0.99v1.0v1.1
Last change on this file since fa0a08 was 0f1000, checked in by Pedro Ferreira <jose.pedro.ferreira@…>, 4 years ago

[IMPROVEMENT] New setup.py and directory structure

  • support for easy_install (still buggy)
  • added dev-utils to the repo (indicoShell, etc)

Squashed commit of the following:

commit b953b659f757be91042d96675268ca1fbf384c17
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Fri Jul 31 17:08:41 2009 +0200

final setup.py commits

commit b27a53696ea03a324ee19473c1a1abbd076b3850
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Fri Jul 31 16:35:42 2009 +0200

Added ez_setup so that setup.py will work even if the user doesn't have easytools installed

commit a44f472d024309b9f23b89ba530e9b6f11608f08
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Fri Jul 31 15:38:46 2009 +0200

[FIXED] Problem with setup.py installation

commit c963f2d2cbc44e2eb190238b4ade5bf4d92c7d0e
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Thu Jul 30 15:58:41 2009 +0200

[MINOR] Check if mod_python is installed and warn the user in case it is not

commit c788892108907eec70c223cdd4cde6ca675792af
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Thu Jul 30 15:47:15 2009 +0200

[FIXED] setup.py sdist now properly handles --version arg

[IMPROVEMENT] If ApacheUser? and ApacheGroup? are valid system
users the installation script will not ask for them anymore

commit a13ad8a575f592ec8556bfbe323a69713173cba0
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Thu Jul 30 14:18:13 2009 +0200

setup.py tests now produces JUnit-like xml results

commit 73e269ff90c14ed9bcef9b8061ad41f8ca73eb5e
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Mon Jul 27 18:30:35 2009 +0200

Fixed some more setup.py errors

commit 77a488b070328f2cf78dfdc2c0d5311d7ed124f6
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Mon Jul 27 17:12:55 2009 +0200

Moved indico.conf to etc/indico.conf so it will always be in the same place

commit 7db5751181cdeb59cdfd60d5843737c54d4abf49
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Mon Jul 27 17:11:04 2009 +0200

More setup.py fixes

commit 60ef2a044f65acf09fb09790846b6ad5f3040776
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Mon Jul 27 16:16:12 2009 +0200

More fixes to setup.py

commit d82abe4b8f1907a00fbd5b2d12acb965a56ca96c
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Mon Jul 27 15:18:36 2009 +0200

Fixed some setup.py problems

commit b3498ca19f63e54fc3fb9d7ad2a3467e1bdd2c33
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Mon Jul 27 14:25:32 2009 +0200

Simplified and improved setup.py messages

commit 682336708adc57929fc75ce4d609fc735d04a4ab
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Fri Jul 24 18:54:16 2009 +0200

[MINOR] Mayor cleanup and refactorings to setup.py & Configuration.py fixes

We now use findall and find_packages from setuptools instead of reinventing
the wheel.

commit 3142e91203af3b252b13ccbe137682adabbaf9dd
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Fri Jul 24 18:05:13 2009 +0200

[MINOR] Removed unused or duplicated options from Configuration.py

commit 30336c20714b7a160473861dc82950ced6973542
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Fri Jul 24 17:49:12 2009 +0200

[MINOR] Heavy Massive cleanup of Configuration.py

commit 85b5e1b4a6aac19c31a320efbe81d43962a585af
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Fri Jul 24 16:41:28 2009 +0200

Cleaned up setup.py and added new DocumentationDir? variable to Config

commit fe8fa470529df7e401d46fb1b7a1c489d50307f7
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Fri Jul 24 16:26:24 2009 +0200

Removed more unused stuff from setup.py

commit 5c36e358f852353127d5adec2ba9b68280746c42
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Fri Jul 24 13:31:11 2009 +0200

Modified setup.py and Configuration.py so that it can work without having external dependencies

commit 7cd2f3e4e77d4e58927c4e80ff7a4d0b1ccc9cfb
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Fri Jul 24 13:30:32 2009 +0200

Added very basic tests for Conference

commit 5718e8c2d0303c331c60a4dc202ef039b9b42ce7
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Thu Jul 23 17:59:22 2009 +0200

More refactorings

commit 7785ba6c0d200f90fc51a853d698a7424ef545c5
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Tue Jul 21 18:08:39 2009 +0200

Fixed db config files

commit e5e16e6c013280da6ead155cdbf95aa69d13c48e
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Tue Jul 21 17:32:22 2009 +0200

More improvements to setup.py

commit ec02d75caf81fd3a7673e9937d48ce3827cd0b67
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Tue Jul 21 17:01:50 2009 +0200

[ADDED] Single test launcher

tests/runst can be used to launch single test files. It will set up
the environment so that Python will use the development directory
instead of the system one. It also automatically calls to
unittest.main() so you only need to create the unittest.TestCase?
derived file and no boilerplate code is needed.

Adapted existing tests to work with the new script

commit c6905a92d82354f814b1e8c91d29f0bf8e06e5aa
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Tue Jul 21 16:26:02 2009 +0200

[ADDED] IndicoShell? and OAI utilies

IndicoShell? is a shell that makes it easier to consult and interact
with Indico.

commit 2558836d97e128a516f39c3ffa564265f86680b7
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Tue Jul 21 16:16:50 2009 +0200

[ADDED] New database reindex script

reindexcategorynameindex.py deletes all category indexes and recreates them

commit dd7ddcd579837756a422c9b67e44dd4f03db1ef4
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Thu Jul 9 15:22:13 2009 +0200

[IMPROVEMENT] Simplified MANIFEST.in and removed unused files in toplevel dir

commit 068d7571f82130492c78ad0dddb29111fbd05631
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Fri Jul 17 15:48:44 2009 +0200

[MINOR] Moved scripts/ to bin/ and divided them by topic

Moved indico/htdocs/tools to indico/htdocs/scripts and indico/htdocs/help to indico/htdocs/ihelp

commit d800004ee5d3c1a846cee4aa2279d85f731943d8
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Fri Jul 24 15:12:02 2009 +0200

[MINOR] setup.py bugfixes and refactorings

Improved reading of prompts in setup.py

Removed more old stuff related to setup.py

Fixed confmerge breackage

Renamed ArchivePath? to ArchiveDir? to maintain consistency

commit 77e1a202946b23af6e369c71b3ac814195b9a9d0
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Thu Jul 16 18:13:40 2009 +0200

setup.py refactorings and started the setup.py upgrade mechanism

Config.forceReload() now works correctly

commit f0dc69fcbc27b639464f979e49d28411f6e85357
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Fri Jul 24 15:26:20 2009 +0200

[IMPROVEMENT] indico.conf replaces build.xml as indico's configuration mechanism

  • added new confmerge tool for the new indico.conf format (tests included)
  • New tests and tests refactorings
  • Removed old actions and code from setup.py
  • Removed some unnecesary indico.conf vars
  • Added missing init.py file
  • Refactored indico.conf and added new tests
  • Modified MaKaCConfig.py so that it will dynamically load indico.conf and take its values from thee
  • Added more tests to testsuite and fixed indico.conf location
  • Configuration.py refactorizations
  • Hidden version value from setup.py and more refactorings
  • Setup.py now properly handles indico.conf depending on wether we are generating a CERN package or not
  • Documented some indico.conf options

commit d5ef6cbee0140560e007dc676bba84e0d89f2536
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Wed Jul 8 17:31:01 2009 +0200

Commented several entries of etc/MaKaCConfig

commit 486e7a306b696f4f78f6a93f730ac6f439ebde20
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Fri Jul 24 15:23:05 2009 +0200

[MINOR] setup.py now automatically detects packages (including plugins) without needing to specify them

Added support to specify uid and gid to setup.py install

Several setup.py refactorings and cleanups

Extracted MaKaCConfig.py template into its own file

Other small refactorings

commit 49208e983b5524351f27a66eddc09e4efbf31319
Author: Juan Alonso <juan.alonso.hernandez@…>
Date: Fri Jul 3 18:54:45 2009 +0200

[MINOR] Improvements and cleanups to testing framework

added tests for checking that setup.py tasks work

  • Property mode set to 100644
File size: 18.2 KB
Line 
1Table of Contents
2Indico Installation Guide
3
4    1. Programs to Install prior
5    2. Mod_python configuration
6    3. Installation
7
8        3.1. Default Installation
9        3.2. Custom Installation
10        3.3. Running Indico
11
12    4. Reconfiguring after Installation
13    5. Upgrading
14    6. Explanation of the XML Configuration File 'config.xml'
15
16        6.1. Path Directories
17        6.2. Database, Access Rights, Url, Email, SMTP and OAI Parameters
18        6.3. File Types and System Icons
19
20    7. Notes
21
22Indico Installation Guide
23
24CERN
25
26━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
27
28Table of Contents
291. Programs to Install prior
302. Mod_python configuration
313. Installation
32
33    3.1. Default Installation
34    3.2. Custom Installation
35    3.3. Running Indico
36
374. Reconfiguring after Installation
385. Upgrading
396. Explanation of the XML Configuration File 'config.xml'
40
41    6.1. Path Directories
42    6.2. Database, Access Rights, Url, Email, SMTP and OAI Parameters
43    6.3. File Types and System Icons
44
457. Notes
46
471. Programs to Install prior
48
491. Python 2.4.4 (and above)      http://python.org
502. Apache HTTP Server 2.0 (and   http://httpd.apache.org/download.cgi
51above)
523. ZODB 3.4                      http://zope.org/Products/ZODB3.4
534. Reportlab 2.0                 http://www.reportlab.org/downloads.html
545. mod_python 3.3.1 (and above)  http://httpd.apache.org/modules/
55                                 python-download.cgi
566. libxml and libxslt            http://xmlsoft.org/python.html
577. Python Imaging Library        http://www.pythonware.net/storage/
58                                 Imaging-1.1.4.tar.gz
598. Pytz - Python Timezone        http://sourceforge.net/projects/pytz
60Library
619. Python simplejson             http://pypi.python.org/pypi/simplejson
62
63━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
64
652. Mod_python configuration
66
67In the Apache config files (httpd.conf or apache2.conf) add the following:
68
69 i. Add the "LoadModule" line to make Apache load mod_python.
70
71     In Linux, the configuration files normally already has the following line:
72
73    Include /etc/apache2/mods-enabled/*.load
74    Include /etc/apache2/mods-enabled/*.con
75
76    If you have installed mod_python through a package, the file /etc/apache2/
77    mods-enabled/mod_python.load will probably be already created with the
78    'LoadModule' line inside it. In that case, you don't need to add anything.
79    Otherwise, see the instructions for Windows.
80
81     In Windows, add the following line:
82
83    LoadModule python_module modules/mod_python.so
84
85    This assumes mod_python.so has been placed in the modules folder.
86    Otherwise, put the appropriate directory instead.
87
88    For more information, see the mod python documentation
89
90ii.  At the end of the Apache config file add:
91
92         <Directory "C:/Program Files/Apache Group/Apache2/htdocs/MaKaC">
93         AddHandler python-program .py
94         PythonHandler mod_python.publisher
95         PythonDebug On
96         </Directory>
97
98    Adapt this to your own file system, e.g. If using Linux use <Directory "/
99    soft/http/htdocs/MaKaC">
100
101iii. Change the Apache config file so that Apache is aware of previous
102    directory. There are usually two ways of doing this:
103
104    -Changing the DocumentRoot value. If you used "C:/Program Files/Apache
105    Group/Apache2/htdocs/MaKaC", a correct value of DocumentRoot would be "C:/
106    Program Files/Apache Group/Apache2/htdocs", if you want Indico to show on
107    http://webserverhostname/MaKaC/index.py.
108
109    For Linux a correct DocumentRoot value would be "/soft/http/htdocs".
110
111     -Using the Alias directive by adding the following at the end of the
112    Apache configuration file:
113
114    Alias /MaKaC "C:Program Files/Apache Group/Apache2/htdocs/MaKaC"
115
116    or in Linux:
117
118    Alias /MaKaC "/soft/http/htdocs/MaKaC"
119
120━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
121
1223. Installation
123
124After downloading and uncompressing the Indico distribution, you have 2 options
125when running an installation: Default or Custom.
126
127Your uncompressed folder will be referred to as the 'Indico distributed
128directory' throughout this document
129
130━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
131
1323.1. Default Installation
133
134To make a default installation, from the 'Indico distributed directory', run
135the setup install script using
136
137 "setup.py install"
138
139A default installation will install Indico onto your machine dependant on the
140platform you are running. The default configuration for Indico is:
141
142 i.  Main Package Directory 'pkgdirectory' (Pythons site packages directory
143    name varies on version):
144
145    Windows - C:\Python24\Lib\site-packages
146    Linux -  /usr/local/lib/python2.4/site-packages
147
148    (Templates Directory 'tpls' is defaulted to this directory with /MaKaC/
149    webinterface/tpls at the end)
150
151ii.  Apache Files Directory 'htdocs':
152
153    Windows - C:\Program Files\Apache Group\Apache2\htdocs\MaKaC
154    Linux -  /soft/http/htdocs/MaKaC
155
156    (Images Directory 'images' is defaulted to this directory with /images at
157    the end
158
159iii.  Archive Directory 'archive':
160
161    Windows - C:\MaKaC\archive
162    Linux -  /soft/MaKaC/archive
163
164iv.  Temporary Directory 'temp':
165
166    Windows - C:\MaKaC\temp
167    Linux -  /soft/MaKaC/temp
168
169 v. For All other parameters the default configurations are written in the XML
170    config file
171
172See Explanation of XML config file for more information on each path
173
174━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
175
1763.2. Custom Installation
177
178A custom Installation lets you change the directories and parameters of the
179Indico installation, please read Explanation of XML config file, before
180starting a custom installation this will explain what each parameter is, then
181follow these steps:
182
183 1. From the 'Indico distributed directory', open the config.xml file into a
184    text editor
185
186 2. Edit the path names and parameters that you wish to change, save and close
187    the file
188
189     1. If you changed the "htdocs" path name you need to change the
190        <Directory> you added in the Apache config file to match your htdocs
191        path
192
193     2.  If you changed the "pkgdirectory" path name you need to add to the
194        code you added in the Apache config file. Before the final </Directory>
195        tag you need to add:
196
197        PythonPath "sys.path+['pkgdirectory']"
198
199        Where pkgdirectory is the full path of your defined directory
200
201     3. If you changed the "dp_param" you may need to edit the 'address'
202        section in the config file for ZODB, for information on how to do this
203        visit: http://zope.org/Wikis/ZODB/HowtoRunAZEOServer/howto.html
204
205 3.  From the 'Indico distributed directory', run the setup install script
206    using
207
208     "setup.py install"
209
210━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
211
2123.3. Running Indico
213
214To run Indico:
215
216 1. Start the Database Daemon: You need to have the ZODB Database running in
217    order for InDiCo to work correctly.
218
219    The database can be on your machine or running on a remote machine. The
220    ZODB database runs into a ZEO server. In order to have the server running,
221    you should locate the script "runzeo.py", which should be in the ZEO server
222    folder (/usr/lib/python2.4/site-packages/ZEO/ in Linux).
223
224     Create a file called "zeo.config" with the following lines for a default
225    installation:
226
227    <zeo>
228      address databasehostname:9675
229      transaction-timeout 5
230    </zeo>
231    <filestorage 1>
232      path /usr/lib/python2.4/site-packages/ZEO/data/data.fs
233    </filestorage>
234
235    <eventlog>
236      <logfile>
237        path /usr/lib/python2.4/site-packages/ZEO/log/zeo.log
238        format %(asctime)s %(message)s
239      </logfile>
240    </eventlog>
241
242    Please note that the host name of the database should be the same as the
243    one you put in config.xml file (see "Explanation of the XML Configuration
244    File 'config.xml' "). Of course you can change the <filestorage> and
245    <logfile> values to your convenience.
246
247     After creating the file zeo.config, call the script runzeo.py with
248
249    python runzeo.py -C zeo.config
250
251    For more information, please see the "How to run a ZEO Server" (http://
252    zope.org/Wikis/ZODB/HowtoRunAZEOServer/howto.html) for more information on
253    how to do this.
254
255 2. Start the Apache Server: You need to have the Apache server running for
256    Indico to work, for more information on starting the Apache Server visit:
257
258      □  Using Apache with Microsoft Windows
259
260      □  Starting Apache (For Linux).
261
262         In Linux, you normally can do this by executing
263
264        apache2ctl -k start/stop/restart/graceful
265
266        as root.
267
268 3.  In a web browser type your base URL followed by index.py. If you chose a
269    default installation or did not edit the URL base, this will be:
270
271    http://webserverhostname/MaKaC/index.py
272
273━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
274
2754. Reconfiguring after Installation
276
277Once you have installed Indico you may need to change a path or parameter of
278the configuration. This can be done by reconfiguring Indico. To do this:
279
280 1. From the 'common' folder inside your main package directory ('pkgdirectory/
281    MaKaC/common'), open the config.xml file with a text editor. If a default
282    installation was chosen or "pkgdirectory" was not edited, this will be
283    located inside Python site-packages. Otherwise it will be inside the
284    "pkgdirectory" you specified when installing Indico.
285
286 2. Edit those parameters or paths that you wish to reconfigure, then save and
287    close the file.
288
289 3.  From the current directory (MaKaC/common), run the reconfigure script
290    using
291
292    "reconfigure.py run"
293
294 4. Restart the Apache Server.
295
296Your Indico Installation will now be reconfigured with your new settings.
297
298NOTE: You cannot reconfigure the main package directory, if you need to change
299the main installation directory you can do so by either upgrading or
300reinstalling Indico again.
301
302━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
303
3045. Upgrading
305
306Once you already have an installation of Indico you may need to install a newer
307release. If you want to keep the same configurations as your previous
308installation, you can upgrade your version. During the upgrading process, your
309current settings will be read and you will be able to check if they are
310correct. You can also edit the settings if you want the new release to be
311configured differently.
312
313Once you have downloaded and uncompressed your Indico distribution you can
314upgrade by:
315
316 1.  From the 'Indico distributed directory' run the Upgrade script using:
317
318    "setup.py upgrade"
319
320     1. You will then be asked to give the directory path of the MaKaC package
321        or to type 'default' if you did not specify the "pkgdirectory" on the
322        original installation.
323
324     2. Follow the instructions given.
325
326 2.  From the 'Indico distributed directory' run the setup install script
327    using:
328
329    "setup.py install"
330
331 3. Restart the Apache Server.
332
333Your upgraded Indico version will now be installed
334
335━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
336
3376. Explanation of the XML Configuration File 'config.xml'
338
3396.1. Path Directories
340
341See Default Installation for the default configurations of these paths
342
343Numbered sections may not be in the same order in the actual config.xml file
344
345<!--Enter Path names in between the pathdir tags, e.g.<pathdir>c:\tmp</pathdir>
346or leave blank for default-->
347
348 <paths>
349(1)   <pathname>pkgdirectory</pathname>
350     <pathdir></pathdir>
351 </paths>
352
353<!--htdocs needs to be the same directory as where you set the modpython handler
354(or blank)-->
355 <paths>
356(2)   <pathname>htdocs</pathname>
357     <pathdir></pathdir>
358 </paths>
359
360 <paths>
361(3)   <pathname>archive</pathname>
362     <pathdir></pathdir>
363 </paths>
364
365 <paths>
366(4)   <pathname>temp</pathname>
367      <pathdir></pathdir>
368 </paths>
369
370 <paths>
371(5)   <pathname>tpls</pathname>
372    <pathdir></pathdir>
373 </paths>
374
375<paths>
376(6)   <pathname>ssheets</pathname>
377    <pathdir></pathdir>
378 </paths>
379
380
381(1) The main package directory, this is where the main package files for the
382    Indico program will be put on you machine,this will be under a folder
383    called MaKaC.
384(2) The htdocs directory, this directory holds the Apache-link files for the
385    webinterface.
386(3) The archive directory, multimedia files attached to the conferences will be
387    stored in this directory.
388(4) The temporary directory, files being uploaded and any other temporary files
389    will be stored into this directory, Note: This directory needs to have a
390    fair amount of space available.
391(5) The templates directory, templates for the webinterface are kept in this
392    directory.
393(6) The stylesheets directory, the stylesheets are stored in this directory
394
395━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
396
3976.2. Database, Access Rights, Url, Email, SMTP and OAI Parameters
398
399<!--Enter database parameters in between tags, e.g. <port>1234</port>
400or leave as they are for default-->
401
402 <db_param>
403     (1)     <host>databasehostname</host>
404     (2)     <port>9675</port>
405 </db_param>
406
407<!-- Enter user and group name for access rights on the Public Folder
408(only applicable for linux installations)-->
409
410 <access>
411     (3)     <user></user>
412     (4)     <group></group>
413 </access>
414
415<!--Enter url base in between tags, e.g. <url>http://webserverhostname/MaKaC</url>
416or leave as it is for default-->
417
418
419     (5) <url>http://webserverhostname/MaKaC</url>
420
421<!--Enter support email in between tags, e.g. <email>indico-project@cern.ch</email>
422or leave for default-->
423
424
425     (6) <email>indico-project@cern.ch</email>
426
427
428<!--Enter SMTP Server to send Email or leave for default-->
429
430     (7) <smtp>smtp.cern.ch</smtp>
431
432<!--OAI Parameters, leave for default -->
433
434     (8) <OAI>
435             <logfile>/tmp/oailog.log</logfile>
436             <nb_record>100</nb_record>
437             <nb_ids>100</nb_ids>
438             <oai_rt_exp>90000</oai_rt_exp>
439             <namespace>eAgora.cern.ch</namespace>
440             <iconfNS>URL_base</iconfNS>
441             <iconfXSD>URL_base+"/iconf.xsd"</iconfXSD>
442             <reposName>eAgora</reposName>
443             <reposId>eAgora.cern.ch</reposId>
444       </OAI>
445
446
447(1) The database host, this parameter holds the location of the host that the
448    database is stored on.
449(2) The database port, this parameter holds the port number of which to contact
450    the database.
451(3) The user for access, this parameter holds the user for which the public
452    folder will be given rights to.
453(4) The group for access, this parameter holds the group for which the public
454    folder will be given rights to.
455(5) The Base Url, the url from which Indico can be reached from a web browser.
456(6) The support email, the email address for people to contact with support
457    issues.
458(7) The smtp server, the server to allow emails to be sent out.
459(8) The OAI parameters, these are for configuring the open archive interface.
460
461━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
462
4636.3. File Types and System Icons
464
465<!--Known file types-->
466
467(1) <FileType>
468            <type>DOC</type>
469            <name>Ms Word</name>
470            <loc>application/msword</loc>
471            <img>doc.gif</img>
472   </FileType>
473
474<!-- System Icons -->
475
476(2) <SysIcon>
477             <icon>modify</icon>
478             <pic>link.gif</pic>
479   </SysIcon>
480
481<!-- Stylesheets-->
482
483
484(3)   <event>
485          <eventname>simple_event</eventname>
486              <sheets>
487                        <view>static</view>
488                        <style>static</style>
489              </sheets>
490    </event>
491
492
493<!-- Default Stylesheets -->
494
495(4) <defaultss>
496                <eventid>simple_event</eventid>
497                <sheet>lecture</sheet>
498   </defaultss>
499
500
501(1) FileTypes, These specify the different file types and the name, location
502    and image associated with them that are available within Indico.
503(2) System Icons, These specify the icon name and the image associated with
504    them.
505(3) Stylesheets, These specify the stylesheets available for each event with
506    the event name, view and stylesheet.
507(4) Default Stylesheets, These specify the default stylesheet for each event
508    with the event name and stylesheet.
509
510━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
511
5127. Notes
513
514 a. If you would like to check that the config.xml file is valid once you have
515    changed it there is a schema called config.xsd in the dist directory which
516    you may validate it with. To do this you can use
517
518     http://apps.gotdotnet.com/xmltools/xsdvalidator/Default.aspx
519
Note: See TracBrowser for help on using the repository browser.