Upgrade Guide
Upgrade Steps
To upgrade Aureus ERP to the latest version, follow these steps:
1. Backup Your Project
Before proceeding with the upgrade, ensure you back up your existing database and project files:
2. Pull the Latest Code
Navigate to your project’s root directory and pull the latest changes:
git pull origin masterIf you have local changes that conflict with the update, you may need to stash them first:
git stash
git pull origin master
git stash pop # Restore stashed changes3. Update Dependencies
Once the latest code is pulled, update the dependencies:
composer install --no-dev --optimize-autoloaderIf necessary, update Filament:
composer update filament/filament --with-dependencies4. Verify .env Configuration
Check your .env file and ensure it contains the correct database and application settings. If necessary, update it to reflect any new configurations introduced in the latest version.
5. Clear Cache and Recompile Assets
Run the following commands to clear cache and refresh your application settings:
php artisan optimize:clear
php artisan config:clear
php artisan cache:clear
php artisan view:clear6. Run Database Migrations
Execute the migration command to apply any new database schema changes:
php artisan migrateWARNING
If your project has significant customizations, review the migrations carefully before running them.
7. Update Storage and Symlink Public Assets
Ensure storage links are correctly set up by running:
php artisan storage:linkIf your existing project depends on local storage or logs, copy them to the latest version:
cp -r storage-backup/app/public storage/app/publicPerform testing on all major features before deploying the upgraded git pull origin master .