| 1 | = Directory structure = |
| 2 | |
| 3 | * node: contains code necessary for a node |
| 4 | * node/sbin: scripts (e.g. red-node-update, copy-data-to-new-host, red-auto-responder) |
| 5 | * node/share/src/modules: one file for every item service (e.g. class.red_item_user_account_node_unix.inc.php, class.red_item_list_node_mailman.inc.php) |
| 6 | * node/etc/cron.d: files intended to be installed in /et/cron.d on every node |
| 7 | * node/etc/red: configuration files, one for the entire node (e.g. red_node.conf) and one for each service that has configuration options (e.g. red_mysql.conf.sample to designate the path the .my.cnf file which contains login info for this MySQL server or red_web_conf.apache2.conf.sample which designates whether the server is running mod_php or fcgid) |
| 8 | * ui: contains code necessary for running on the UI machine |
| 9 | * ui/www: code intended to be directly accessible to the web server |
| 10 | * ui/sbin: command line tools such as red-cli, red-test, transfer-red-items-to-new-host, etc. |
| 11 | * ui/share/email/en_MX and ui/share/email/en_US: contains templates for sending email to users. |
| 12 | * ui/share/src: contains files used by all user interfaces (e.g. class.red_auth.inc.php, class.red_authz.inc.php, functions.inc.php, class.red_api.inc.php, web.inc.php, class.red_collector.inc.php) |
| 13 | * ui/share/src/modules: one file for every item service (e.g. class.red_item_user_account_ui.inc.php, class.red_item_list_ui.inc.php) |
| 14 | * ui/share/src/web: helper classes used only in the web interface |
| 15 | * ui/share/ihtml: html templates used only in the web interface |
| 16 | * ui/share/tests: test definitions used by red-test command |
| 17 | * ui/etc: configuration file shared by all user interfaces |
| 18 | * common: contains code shared by both nodes and the ui |
| 19 | * common/share/src: contains parent classes (e.g. class.red_db.inc.php, class.red_ado.inc.php, class.red_item.inc.php, red.utils.inc.php, red.lang.utils.inc.php) |
| 20 | * common/share/src/modules: contains one file for every item service (e.g. class.red_item_user_account.inc.php, class.red_item_list.inc.php) |
| 21 | * common/locale: gettext translation file |