WARNING: It is essential to create a complete backup of the full old version of the application source code and database for future reference or potential rollback. Please note that We are not responsible for any loss or damage from inappropriate actions or lack of backup.
Step 1: Backup Following files Before making any changes
- .env file
- Storage directory
- Public directory
Step 2: Download the latest version of the source code and replace the existing old version with it.
Step 3: Restore the previously backed-up .env file, Storage directory, and public directory to their respective locations within the new root directory.
Install Dependencies #
Step 1: In the root directory, run the following commands.
composer install
NOTE: If you face any issues while running the above command run this composer install --ignore-platform-reqs
yarn install
yarn build
Step 3: Run the following command to migrate super admins table updates.
php artisan migrate
Step 4: Run the following command to migrate tenant table updates.
php artisan tenants:migrate
Step 5: Execute the below command to finalize the update process.
php artisan optimize:clear