Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

Updating BuySYS

Tim Davis edited this page Sep 2, 2018 · 1 revision

Updating your Installation

The easiest way to keep your application up to date is to create an update script

  1. Navigate to /var/www/html/buysys and create the file update.sh
  2. Make it executable, chmod +x update.sh
  3. Edit update.sh and add the following:
git pull
php bin/console cache:clear --env=prod --no-warmup
php bin/console cache:warmup --env=prod
  1. Now to perform an update and get new changes, simply navigate to /var/www/html/buysys and run ./update.sh, this will pull the new code and refresh the cache
Clone this wiki locally