boinc/doc/tool_xadd.php

47 lines
1.1 KiB
PHP

<?php
require_once("docutil.php");
page_head("xadd - tool for adding database items");
echo "
<b>xadd</b> adds platform and application records to the BOINC database.
Information is read from an XML file <b>project.xml</b>
in the project's root directory.
Run <code>xadd</code> from the project root directory, i.e.:
<pre>
cd ~/projects/project_name
bin/xadd
</pre>
<p>
The contents of <b>project.xml</b> should look like this:
<pre>", htmlspecialchars("
<boinc>
<app>
<name>setiathome</name>
<user_friendly_name>SETI@home</user_friendly_name>
</app>
...
<platform>
<name>windows_intel</name>
<user_friendly_name>Windows 95, 98, NT 2000, and XP</user_friendly_name>
</platform>
...
</boinc>
"), "</pre>
<p>
The 'name' of each item should be short
and without spaces or other special characters.
The 'user friendly name' (shown to end users) has no restrictions.
An example project.xml file is in source/tools/.
<p>
<code>xadd</code> only adds new items;
entries that conflict with existing database entries are ignored.
";
page_tail();
?>