Sabre Scheduler Installation Procedures PRE-INSTALLATION (1) Clone the QMS-install directory and rename the clone (2) Place the QMS custom subtheme in the sites/all/themes directory (3) Place the logo.png and favicon.ico in sites/default/files directory (4) Compress and tar the cloned install directory (.tgz) (5) FTP to target server for installation (place in web directory directory) (6) tar -zxvf the *.tgz file to unpack it. (7) In the QMS install dir go to sites/default (8) Copy default.settings.php to settings.php. Make sure it's writeable for installation (9) Set up MySQL database for QMS, assign user with full permissions (10) Set up a qms.admin email account for the host system INSTALLATION (1) Use web browser to open url of server QMS directory (http://someserver.com/QMS) (2) Select SabreQMS installation profile when prompted (3) Follow installation as indicated (4) When complete, visit the new QMS site POST-INSTALLATION (1) THEME go to 'admin/appearance' and go to the 'Settings' link for the Active Theme (should be the theme selected during installation) All settings will be correct. Unfortunately, at load the theme is unable to fully initialize. 'Save configuration' to initialize the theme. point logo to sites/all/themes/[THEME]/images/SIMmetry.png (2) CACHE go to admin/config/development/performance set 'Cache Blocks' = X set Minimum Cache Lifetime = 5 mins set Expiration of Cached Pages = 5 mins set Aggregate and Compress CSS = X DO NOT Aggregate Javascript 'Save configuration' (3) CRON set CRON to run every hour 'Save configuration' (4) BACKUP and MIGRATE Edit Default Settings -> No Compression, Save Add Schedule 'Daily', 'Scheduled Backups Directory', 'Default Settings', Keep 7 (5) USERS Add User accounts as required & assign roles (6) SETTINGS.PHP QMS-only or Scheduler-only or together --> set $cookie_domain = '.example.com'; set ini_set('session.cookie_lifetime', 2000000); QMS & Scheduler together--> install each app separately. Shared installations are not recommended by Drupal. Each app has its own database. For certain features, each database needs to connect to the other database to retrieve data (simulators) and update its own information to keep the databases in sync with one another. for each respective settings.php file, add the other db config to the $databases definition as follows: $databases = array ( 'default' => array ( 'default' => array ( 'driver' => 'mysql', 'database' => 'qms_main', 'username' => 'qms_db_user', 'password' => 'qms_db_pswd', 'host' => 'localhost', 'port' => '', 'prefix' => '', ), ), 'sabre_scheduler' or 'sabre_qms' => array ( 'default' => array ( 'driver' => 'mysql', 'database' => 'qms_scheduler', 'username' => 'qms_db_user', 'password' => 'qms_db_pswd', 'host' => 'host', 'port' => 'port', 'prefix' => '', ), ), ); In the code files, the main db is always accessed as 'default' --- // Get some information from a non-Drupal database. db_set_active('scheduler'); $result = db_query("SELECT * FROM user WHERE uid = :uid", array(':uid' => $user->uid)); // Switch back to the default connection when finished. db_set_active('default'); --- (7) If linking Scheduler to QMS, run the following to sync the simulators http://domain.com/scheduler/admin/link/QMS After installation is complete chmod 755 sites/default/settings.php (8) CKEDITOR config file or change CKEDITOR settings if using plugin module a) without module: go to sites/default/files, change the editor path in sabreQMS.ckeditor.path.js b) with module: go to admin/config/ckeditor to change config.js to point to the proper locations (9) In QMS, set the document root for scheduler using drush drush vset 'sabre_scheduler_root' '/var/www/html/[scheduler]/src' In Scheduler, set the document root for qms using drush drush vset 'sabre_qms_root' '/var/www/html/[qms]/src'