git clone https://github.com/helhum/TYPO3-Distribution.git new-project cd new-project rm -rf .git && git init && git add . && git commit -m "Initial commit after kickstart" composer install ./typo3cms install:setup ./typo3cms configuration:remove DB git add . && git commit -m "After Install" cp .env-example .env mv .surf/projectid-dev.php .surf/t3cvie-dev.php ssh staging-system 'mkdir -p deploy/shared && cd deploy/shared && pwd' scp .env-example target-system:deploy/shared/.env # Edit .env on target system accordingly git add . && git commit -m'Deployment config' # Additional surf task for initial setup on target host # # $workflow->defineTask('Helhum\\TYPO3\\Distribution\\DefinedTask\\DeployInit', 'TYPO3\\Surf\\Task\\ShellTask', array( # 'command' => array( # "cd {releasePath}", # "/usr/local/bin/php5-56LATEST-CLI ./typo3cms install:setup --non-interactive --database-user-name=\"db123\" --database-user-password=\"password\" --database-host-name=\"127.0.0.1\" --database-port=\"3306\" --database-create=0 --database-name=\"db123\" --admin-user-name=\"admin\" --admin-password=\"password\" --site-setup-type=createsite --site-name=\"TYPO3 Camp Vienna\"", # ) # )); # # $workflow->afterStage('update', 'Helhum\\TYPO3\\Distribution\\DefinedTask\\DeployInit');