This document provides an overview on the steps necessary to install and to configure the CDM DataPortal.
Read the CDM DataPortal - Requirements document and make sure that your environment meets the hardware and software requirements for the CDM DataPortal. Install any additional software needed before downloading the CDM DataPortal installation archive.
The php.ini needs to be modified for the CDM DataPortal. It is nessecary to increase the following parameters (memory_limit) in your php.ini:
;;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;; memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)
In the following we assume that your new CDM DataPortal installation is available from the this URL: (http://myServer.com/).
$db_url = 'mysql://username:password@localhost/databasename';
cp -R sites/all/modules/cdm_dataportal/profile profiles/
Now all necessary modules are activated as well as important settings have been configured.
In addition to the usual tasks required for enabling clean URLs in Drupal ( http://drupal.org/getting-started/clean-urls ) you have to modify the .htaccess file and your Apache 2 virtual host configuration a bit. These steps are needed since the CDM DataPortal will do AJAX request in the background. Without the modifications described in the following these request URLs will be broken by the Apache URL rewriting:
RewriteMap escape int:escape
RewriteRule ^(.*)$ index.php?q=${escape:$1} [L,QSA]
If you are interested in more advanced setups like running multiple CDM DataPortal instances in one Drupal installation, you may want to visit the drupal official site or our developer installation guide or just contact us.