Last active
March 9, 2016 13:29
-
-
Save smichaelsen/842a26d3d6a70106f182 to your computer and use it in GitHub Desktop.
TYPO3 Deployment File (jweiland.net specific)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . |
Thanks @peterkraume! I updated the gist.
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
To make things easier with these long paths to the php binary I've created a symlink to my preferred php version in the root directory of my webspace:
ln -s /usr/local/bin/php5.6.2-cli php
Then I've added the above mentioned path to the PATH variable:
export PATH=/kunden/xxxxx_yyyyy/:$PATH
This is done via .zshr/.bashrc to have my php version available every time I login.
For
composer
I've added an alias to .zshrc/.bashrc:alias composer="/usr/local/bin/php5-56LATEST-CLI /kunden/xxxxx_yyyyy/composer.phar"