Skip to content

A TYPO3 Surf distribution featuring additional tools for TYPO3 CMS deployments

License

Notifications You must be signed in to change notification settings

christianbltr/Surf.CMS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Surf Deployment

<?php

/** @var \TYPO3\Surf\Domain\Model\Deployment $deployment */


// APPLICATION
$application = new \TYPO3\Surf\CMS\Application\TYPO3\CMS();
$application->setOption('projectName', 'Introduction Package');
$application->setOption('repositoryUrl', 'git://git.typo3.org/TYPO3CMS/Distributions/Introduction.git');
$application->setOption('typo3.surf:gitCheckout[branch]', 'master');
$application->setDeploymentPath('/var/www/introduction');

// NODES
$node = new \TYPO3\Surf\Domain\Model\Node('Introduction Package on local system');
$node->setHostname('localhost');
$application->addNode($node);

// WORKFLOW
$workflow = new \TYPO3\Surf\Domain\Model\SimpleWorkflow();

// DEPLOYMENT
$deployment->setWorkflow($workflow);
$deployment->addApplication($application);

About

A TYPO3 Surf distribution featuring additional tools for TYPO3 CMS deployments

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%