Developers/Concepts/Build

From Tine 2.0 - Wiki

< Developers

To convert a development version of Tine 2.0 (checkout from git) to a production version with minified javascript, css and translation files for improved speed and faster loading, you need to run the phing build command.

Requirements

You need the following packages to run the build (on an ubuntu/debian system):

gettext, openjdk-jre, npm

You need to run composer and install webpack (via npm). see https://wiki.tine20.org/Developers/Getting_Started/Working_with_GIT#Installing_external_libraries

Run phing

 $ cd /path/to/your/git/checkout/tine20
 $ vendor/bin/phing

Switch to RELEASE MODE

Add this to your config.inc.php:

 'buildtype' => 'RELEASE',