-
Notifications
You must be signed in to change notification settings - Fork 9
Upgrade
To upgrade an existing installation, follow these steps:
- To pull the newest source code from the master branch:
git pull origin master
Replace master with test to pull the test branch.
-
Copy or move the content of folder
/web
to the public folder on your server. Exclude fileapp_dev.php
orapp.php
from this action. -
To check if new dependencies should be installed:
composer update
- To update the database schema:
php bin/console doctrine:schema:update --force
Only use the --force parameter if you are sure what you are doing. Forcing the update can cause data loss.
- To clear the Symfony cache:
php bin/console cache:clear --no-warmup --env=prod
Replace prod with dev if you are running the application in the development environment. If this command does not work, you could also remove the cache folder inside /var.
In the main README of this repo you can read how to install a fresh new application.