### Installation in sub directory

Please follow the procedure.

- Download the zipped file from CodeCanyon.
- Upload the zipped file into cPanel / server.
- Unzip the zipped file. Inside the unzipped folder you will get two folders "Documentation" and "upload".
- Move all the items from the "upload" folder to the root directory. Please remember to show hidden files. There are 2 files named .env and .htaccess which are hidden by default. Remember to move all files.

- Make sure you have correct access permission for these directories and files.

  - 'src/env' => '644'
  - 'src/config/' => '644'
  - 'src/bootstrap/' => '755'
  - 'src/bootstrap/cache/' => '755'
  - 'src/storage/' => '755'
  - 'src/storage/logs/' => '755'
  - 'src/storage/framework/' => '755'
- Create the database and remember these things for future usage.
  - Database name.
  - Username.
  - Password.

  - Database name, username and Password must not contain # or white space.

- Make sure that your server must meet our Server Requirements .
- Go to URL your_domain/sub_folder/install/. Follow the easy installer procedures step by step and install the application.

#### Set Up Wizard

Please follow the procedure.

- ##### 01. Required Environment

  You will find the installer using this URL: your_domain/sub_folder/install/.

- ##### 02. Additional Requirement

  Make sure you have symlink permission enabled otherwise you won't able change any images.

- ##### 03. Purchase Code

  Make sure you use correct purchase code. On success you will get "Purchase code verified successfully" message and redirection on next step.

  Possible Error Cases response are "Invalid Purchase code", "Request Failed" etc.

  "Invalid Purchase code" : Re check you purchase code again.

  "Request Failed": Your server could able to communicate with another server to verify purchase code.

  If there is any problem occurs in this section then please check Error log and copy error log and contact support@gainhq.com to further assistance.

- ##### 04. Database Configuration

  Make sure you use correct credentials.

  - Database Host usually used localhost. (Some VPS Server it might differs).

  - Database Port usually used 3306. (It might differs in some case and if the port is occupied use different port).

  - Database name, username and Password must not contain # or white space.

- ##### 05. Admin Login Details

  This email and password will be used as admin credentials to log in.

  Fill up necessary information and click Save and Next.

#### After Installation

- Configure your email delivery service from Settings > App Settings > Email Setup

- Make sure that your email delivery service credentials is correct. Otherwise, you will get this type of message alert "Configure email setup properly" / "Server error"