Upgrading the portal - SonarSoftware/customer_portal GitHub Wiki
Upgrading the portal generally requires nothing more than downloading the latest portal files, copying them over the top of your existing files, and running a few commands.
To get the latest version of the portal, go to a directory you want to download the files to (for example, your home directory.) You can access your home directory by typing cd ~. Download the latest customer portal by typing wget https://github.com/SonarSoftware/customer_portal/archive/master.zip and then unzip master.zip.
Once a new version is downloaded, run cp -R customer_portal-master/portal/* /usr/share/portal/. This will copy the new files over. After copying them, run the following commands:
php /usr/share/portal/artisan migrateto setup any new database changesphp /usr/share/portal/artisan cache:clearto clear all the cached dataphp /usr/share/portal/artisan view:clearto clear the cached viewsphp /usr/share/portal/artisan optimize,php /usr/share/portal/artisan route:cacheandphp /usr/share/portal/artisan config:cacheto optimize the portal
You can also enable automatic updates if you'd prefer.