Admin Panel update from previous version
1.Introduction
In this article, we are going to update the admin panel source code from the previous version.
2.Update Instructions
Update the latest code with your current project
If you want to update the backend source code without your custom changes, please follow the steps below:
- Download the latest files.
- Replace all files except the following files and folders from your current
project:
.envfilepublic/push-configurations/firebase.jsonvendorfolder
- Delete the
storagefolder under thepublicfolder. - Step 1: Install PHP 8.5:
"sudo apt install php8.5" - Step 2: Install the required PHP 8.5 extensions:
"apt install php8.5-fpm php8.5-cli php8.5-common php8.5-mbstring php8.5-xml php8.5-curl php8.5-gd php8.5-zip php8.5-mysql" - Step 3: Restart the Apache service:
"sudo systemctl restart apache2" - Step 4: If PHP 8.2 is installed, disable PHP 8.2 and enable PHP 8.5 using the following commands.
- Step 5: Select PHP 8.5 as the default PHP Version:
"sudo update-alternatives --config php" - Step 6: Disable PHP 8.2:
"sudo a2dismod php8.2" - Step 7: Enable PHP 8.5:
"sudo a2enmod php8.5" - Step 3: Restart the Apache service:
"sudo systemctl restart apache2" - Run the following commands:
composer installnpm install- Install GrapesJS and Supporting Libraries :
"npm install grapesjs@^0.22.14 grapesjs-preset-newsletter@^1.0.2 html2canvas@^1.4.1 node-html-to-image@^5.0.0 prismjs@^1.29.0 puppeteer@^24.33.0" npm run buildphp artisan migratephp artisan db:seedphp artisan storage:link
3.Install PHP 8.5
Follow the steps below to install PHP 8.5, along with the required extensions:
Required Extensions: bcmath, bz2, intl, gd, mbstring, mysql, zip, fpm, curl, xml
Steps to Install PHP 8.5
Update the latest code with your current project after customizations
- First, push your code to a Git branch. Then download the latest project code from Codecanyon and push it to another branch. Finally, merge both branches. Note: Conflicts may occur during merging. Resolve them carefully, as we are not responsible if something goes wrong.
- Follow the sample video tutorial: https://youtu.be/mn9otng7Lho?si=9LNfpmTJ4cL6CL6N
- After merging the latest updated code with your current code, follow the steps below:
- Delete the
storagefolder under thepublicfolder. - Run the following commands:
composer installnpm installphp artisan migratephp artisan db:seedphp artisan storage:link
3.Migrate(Tagxi/Delivery/Super/Bidding) To Restart
If you already have our(Tagxi/Delivery/Super/Bidding) product and want to upgrade to Restart, follow the video tutorial below:
Important: Ensure the following requirements are met on your server before proceeding with the upgrade:
- Node.js and npm must be installed on your server. Check their versions to ensure they meet the requirements listed on the installation page.
- FTP access is required for file uploads and management. Ensure you have the necessary credentials and software for FTP installation and configuration.
- Follow the installation guide available on the server installation page to confirm all dependencies and versions are properly configured.
