Updating
Backup Current Installation
Section titled “Backup Current Installation”cd /var/wwwmv billing billing-backupmysqldump -u username -p password mydatabase > /path/to/billing-backup.sqlInstall the New Version
Section titled “Install the New Version”cd /var/www/billing
php artisan down
curl -Lo Billing.zip https://github.com/Zastinian/Billing/releases/latest/download/Billing.zip
unzip Billing.zip
rm Billing.zip
chmod -R 755 storage/* bootstrap/cache
composer install --no-dev --optimize-autoloader
php artisan view:clearphp artisan config:clear
php artisan migrate --seed --forceSet Permissions
Section titled “Set Permissions”# If using NGINX or Apache (not on CentOS):chown -R www-data:www-data /var/www/billing/*
# If using NGINX on CentOS:chown -R nginx:nginx /var/www/billing/*
# If using Apache on CentOSchown -R apache:apache /var/www/billing/*Final Commands
Section titled “Final Commands”php artisan queue:restart
php artisan up