How to update
Automatic update
Run the following command in your terminal:
cd /var/www/paymenter
php artisan p:upgrade
Manual update
Cd to your paymenter directory and run the following commands:
Put the application in maintenance mode
php artisan down
Download the latest version
curl -L https://github.com/paymenter/paymenter/releases/latest/download/paymenter.tar.gz | tar -xz
Update the dependencies
composer install --no-dev --optimize-autoloader
Set the correct permissions
chmod -R 755 storage/* bootstrap/cache/
Migrate the database
php artisan migrate --force --seed
Clear config and view
php artisan config:clear
php artisan view:clear
Set webserver permissions
chown -R www-data:www-data /var/www/paymenter/*
Remove the maintenance mode
php artisan up
Update is now complete!