Operational tools: applications and versions
BOINC provides a few tools for creating and operating projects:
- Utility programs (such as add and create_work).
These can be run manually or invoked from scripts.
- C++ functions (such as create_work()).
- Web interfaces (currently these provide only read access).
Projects can create their own tools, either at a low
level (e.g. directly accessing the BOINC DB from PHP or Perl scripts)
or by using the BOINC DB C++ API (db/db.h).
The Add utility program
The program add performs various types of initialization:
-
add app -app_name name
-
Create a new application (just creates a DB record).
-
add platform name -platform_name name
-
Create a platform record (just creates a DB record);
-
add app_version -app_name x -platform_name y -version a -exec_dir b -exec_file c -download_dir d -url_base e
-
Create an app_version record.
Copy the executable file from the compilation directory
(-exec_dir) to the download directory.
Compute its MD5 checksum, fill in the DB record.
-
add user -email_addr x -name y -web_password z -authenticator a
-
Create a user record.
-
add prefs -email_addr x -prefs_file y
-
Create a preference set, and make it the default
preferences for the given user.
Web Interfaces
The file show_db.php in the operational web site directory
displays the contents of the BOINC DB.