Updates¶
Applying updates from git shouldn’t be difficult.
Get the updates from a git remote
git pull
Update the git submodules.
git submodule update --recursive --remote
Install any updated composer dependencies.
composer install --no-dev -o
Sometimes composer runs out of memory. If that happens, try this alternate.
php -d memory_limit=-1 `which composer` install --no-dev -o
Apply any database schema updates
./bin/console doctrine:schema:update --force
Update the web assets.
bower install
Clear the cache
./bin/console cache:clear --env=prod
That should be it.