Version 11.0 to 12.0

To migrate from version 11.0 to version 12.0 you will need to replace all the files. No data from the database will be lost in the process but any changes you made on our previous code will be replaced. If those codes are necessary please keep a backup of it before replacing the files.

To migrate follow the following steps:

  1. Open the control panel

  2. navigate to file manager

  3. open the public_html folder

  4. From the downloaded zip file look for the zip file named 'digital-hr-file-migration-12. Upload this zip file to the public_html file

  5. Unzip the file and make sure you replace all the files

Once you have successfully replaced the files, go back to your cPanel and

  1. Open terminal

  2. type the following commands

  3. cd public_html <or to the folder where you have installed our script>

Once you are at the above path, run these commands:

  1. php artisan migrate

  2. php artisan db:seed --class=UpdateLeaveDepartmentSeeder

  3. php artisan db:seed --class=FeatureSeeder

  4. php artisan db:seed --class=AppSettingSeeder

  5. php artisan cache:clear

  6. php artisan route:clear

  7. php artisan config:clear

  8. php artisan optimize:clear

  9. php artisan optimize

You're all done. Enjoy all our new features. Optional Step: In the .env file located in the main file, you can add the variable: NEPALI_DATE = false Do this step to hide these two features from the general settings: Date in BS and Reset Leave Count on 1st Shrawan

Note: We understand that these features are nuisance to users who does not need Nepali date on their system so to disable it please add the above variable to the .env file. You can place the variable anywhere in the .env file and save it.

Last updated