Skip to content

Instantly share code, notes, and snippets.

@smichaelsen
Last active March 9, 2016 13:29
Show Gist options
  • Save smichaelsen/842a26d3d6a70106f182 to your computer and use it in GitHub Desktop.
Save smichaelsen/842a26d3d6a70106f182 to your computer and use it in GitHub Desktop.
TYPO3 Deployment File (jweiland.net specific)
# Add Home directory to path so that you can have executables there.
export PATH=~:$PATH
# Fine, now do the following:
# Put a PHP shortcut into your home directory: ln -s /usr/local/bin/php5.6.2-cli php
# Download composer and rename the composer.phar to composer in your home directory
git reset --hard
git pull
composer install
php typo3/cli_dispatch.phpsh extbase databaseapi:databasecompare 1,2,3,4,5,6,7,8
php typo3/cli_dispatch.phpsh extbase migration:migratesqlfiles
php typo3/cli_dispatch.phpsh extbase language:update
php typo3/cli_dispatch.phpsh extbase cacheapi:clearallcaches
rm -rf typo3temp/Cache/*
rm index.php && cp typo3_src/index.php .
@martinhummer
Copy link

additionally, i had to set permissions for composer:
chmod 700 composer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment