Back to demos

sfCRM directory structure

This demo provides details of the layout of the directories (folders) in an sfCRM deployment.
The root directory
All files that sfCRM needs are created and maintained under this directory. sfCRM does not create any files or directories outside this structure.
The appData directory
This directory and its sub-directories contain auxiliary (non-database) data created by the application.
Organization-wide files
This directory contains files used by the entire organization, such as file attachments and email templates.
Personal files
This directory includes one sub-directory for each user. The sub-directories maintain files for each individual user, such as email messages (in their full SMTP format) and email attachments.
Backups
The sfCRM backup manager creates daily backups. Each backup is created as a few zip files in a separate directory under the backups directory. This example shows one such backup.
Start/stop scripts and support applications
The bin directory contains applications used for starting and stopping sfCRM, and for upgrading the database to new versions as they become available.
Application configuration files
The config directory contains a few configuration files. The file config.txt maintains application-specific configuration. The file jettyConf.xml configures the built-in web server, Jetty. The file serverParams.txt (currently used only under Windows) configures the application's port number, memory requirement and SSL enablement.
Databases
The data directory and its sub-directories contain the application's databases. If the application is configured to use the Mckoi database engine (as is most often the case), this directory's contents include all of the critical transactional data.
Mckoi database contents
This directory contains the Mckoi database files.
License and other documentation
The doc directory contains third-party license files, support documentation, release notes, etc.
Log files
The web server request logs are stored in the logs directory. Here you will also find the file event-log.txt that contains entries for application-level events.
The stdlib directory
Here you will find the app.jar file, containing the entire sfCRM application. The file appLicense.jar contains license information for the application. Other Java jar files for JDBC and web-server support are also included here.
Copyright © sfaFinity, Inc., 2004 – 2009.   All rights reserved
Disclaimer      Privacy policy