Upgrading CreateCouponWebsite
Before You Begin
Always back up your database and files before upgrading.
php artisan down
mysqldump -u root -p couponsite > backup.sql
Upgrade Steps
- Download the latest release from your dashboard
- Replace all application files (keep your
.envandstorage/folder) - Run the following commands:
composer install --optimize-autoloader --no-dev
npm install && npm run build
php artisan migrate
php artisan cache:clear
php artisan config:clear
php artisan view:clear
php artisan up
Version-Specific Notes
Check the Changelog page for version-specific migration notes and breaking changes.
If upgrading multiple versions, upgrade one major version at a time for best results.