| Conditions | 1 |
| Paths | 1 |
| Total Lines | 30 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | protected function getTemplateContent($params) |
||
| 27 | { |
||
| 28 | return <<<PHP |
||
| 29 | <?php |
||
| 30 | namespace Deployer; |
||
| 31 | |||
| 32 | require 'recipe/typo3.php'; |
||
| 33 | |||
| 34 | // Introduction |
||
| 35 | // This recipe is based on the "common" recipe, but has pre configured the |
||
| 36 | // TYPO3 relevant settings for shared files and folders |
||
| 37 | // The TYPO3 recipe provides a special setting, the typo3_webroot which |
||
| 38 | // defines the DocumentRoot folder, default is "Web". |
||
| 39 | // Define all other settings like within a "common" recipe. |
||
| 40 | |||
| 41 | // Configuration |
||
| 42 | // ############# |
||
| 43 | // Override DocumentRoot here |
||
| 44 | // set('typo3_webroot', 'Web'); |
||
| 45 | |||
| 46 | // Hosts |
||
| 47 | // host('project.com') |
||
| 48 | // ->stage('production') |
||
| 49 | // ->set('deploy_path', '/var/www/project.com'); |
||
| 50 | |||
| 51 | // host('beta.project.com') |
||
| 52 | // ->stage('beta') |
||
| 53 | // ->set('deploy_path', '/var/www/project.com'); |
||
| 54 | PHP; |
||
| 55 | } |
||
| 56 | } |
||
| 57 |