contao-4-documentation

Some basic stuff for working with Contao 4

View the Project on GitHub jodermo/contao-4-documentation

Contao 4 - SSH & Composer Usement


SSH

Enter SSH server

ssh -p 22 -t username@your-domain "cd public_html/www; exec \$SHELL -l"

replace: 22 with port number,
username@your-domain with your credentials
and: public_html/www with path to your contao installation

(add -vvv to log output)

SSH & XAMPP

SSH on localhost (XAMPP default SSL port is 443)

ssh -p 443 root@127.0.0.1

SSH on local virtual host (contao-demo)

ssh -p 443 root@contao-demo



Update composer.phar

default

php composer.phar update

watch output in terminal -vvv

php composer.phar update -vvv

unlimited memory memory_limit=-1

php -d memory_limit=-1 composer.phar update

all together

php -d memory_limit=-1 composer.phar update -vvv


Clear Cache composer.phar

php composer.phar clearcache


Clear Contao Cache

development cache

vendor/bin/contao-console cache:clear --env=dev

production cache

vendor/bin/contao-console cache:clear --env=prod


Documentation Overwiev

Troubleshooting

© 2020 by Moritz Petzka petzka.com