Table of Content
Make Mica
Use make to build a Drupal distribution for Mica. Requires Drush 4+.
- Checkout mica from https://svn.obiba.org/mica/trunk
- Go to mica directory
To make Drupal for Mica and default site:
To update Drupal with Mica contribution:
For more information:
To make Debian package without it being signed:
PHP Debug in Eclipse
On your local linux machine:
In Eclipse:
- install PDT plugin
- make a PHP project on drupal directory
- Run > Debug Configurations...
- PHP Web Page > New
- Server Debugger: XDebug
- File: select index.php in drupal directory
See also:
Commit to Drupal
Synchronise mica svn with corresponding projects in git of Drupal.org:
See http://drupal.org/node/1027094 for instructions on how to setup your environment to commit on git.
Apache setup
In /etc/apache2/conf.d add the following file:
To enable drupal clean URLs, you need to enable 'rewrite' module
And then restart Apache server and connect to http://localhost/mica.
PHP setup
In /etc/php5/apache2/php.ini increase memory_limit and max_execution_time:
Install the curl library for php (required by mica datasets)
Drupal Examples for Developers
Get examples of implementation per Drupal core feature from http://drupal.org/project/examples:
And then enable/disable example modules individually:
Faster Mica Installation
If you need to install mica often and want to speed up the installation process, you can comment out the following code in mica_standard.profile
Once Mica is installed, enable the module "Mica devel" and go to Configuration -> Development -> Mica and click on the button "Run taxonomy import".