InfySupport

Upgrade Guide

Before starting upgrade we recommenced to backup your files and export your current database.

NOTE : If you are non-technical person then please use dist.zip to replace files and if you are technical person then use src.zip

Pre-Upgrade Steps

Steps required before you get started with upgrade.

  • Backup you current version files and Database
  • If you have manually changed any of the files then take a backup of them. After replacing files of newer version, you will need to replace them again and make possible changes.

General Guide for all the versions

This is a general guide which applies to all the upgrade from any version to any version. Along with this guide, check the list below if any specific steps are given for version upgrade then you need to follow those additional steps.

For Technical Users:

  • Download the newer version
  • Replace all the files of older version with newer version
  • Run composer install
  • Run php artisan migrate
  • Run npm install
  • Run npm run dev to make new build (npm run prod for production build)

For Non Technical Users:

  • Download the newer version
  • Replace all the files of older version with newer version
  • Update database (If DB related changes are made)

    • Open your phpMyAdmin
    • Go to your database and select import tab.
    • Check for DB upgrade file. Check the file under app/database/releases/{latestVersion}/ and see if you can find {latestVersion}.sql. Here latestVersion is the version number to which you are upgrading your application
    • Select that sql file and import it.
  • That's it!, you are ready to go with new version

Upgrading from v1.0.1 to v2.0.0

For Technical Users:

  • Download v2.0.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v2.0.0 files into your existing version v1.0.1
  • Run composer install
  • Run php artisan migrate to update composer dependencies
  • Run npm install
  • And at last Run npm run dev to make new build
  • That's it!, you are ready to go with new version v2.0.0

For Non-Technical Users:

  • Download v2.0.0
  • Backup your current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v2.0.0 files/directories into your existing version v1.0.1
  • Now please call this url once YOUR_APP_URL/upgrade-to-2-0-0
  • That's it!, you are ready to go with new version v2.0.0

Upgrading from v1.0.0 to v1.0.1

For Technical Users:

  • Download v1.0.1
  • Backup you current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v1.0.1 files into your existing version v1.0.0
  • That's it!, you are ready to go with new version v1.0.1

For Non Technical Users:

  • Download v1.0.1
  • Backup you current version files and DB
  • If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
  • Replace v1.0.1 files/directories into your existing version v1.0.0
  • That's it!, you are ready to go with new version v1.0.1