Upgrading ViralHub
Before You Upgrade
- Back up your database
- Back up your
.envfile andstorage/app/public/uploads - Note your current version from
composer.json
Upgrade Steps
- Download the new version ZIP from CodeCanyon
- Extract and overwrite all files except your
.envfile - Run the following commands via SSH:
composer install --no-dev --optimize-autoloader
php artisan migrate
php artisan view:clear
php artisan config:clear
php artisan cache:clear
php artisan storage:link
Your uploaded media and database data are preserved — only application code is updated.