iqu

# USER GUIDE

On behalf of iqonicthemes team, we would like to thank you for purchasing this item. Your support encourages us to build better items and continuously bring value to our products. This documentation file covers all the information needed to install and use this Template. You'll find everything you need to know to create a stunning and beautiful website in minutes.

Sofdesk is based on Laravel framework. This documentation will give you an understanding of how Sofdesk is structured and guide you in performing functions. If you require further assistance not covered in this documentation, please contact us in our support. Click here to contact us.

- Created: 10 September 2019
- By: iQonicthemes
- Email: design@iqonicthemes.com
- HelpDesk: http://iqonicthemes.com/contactus

## Basic Installation

Before you start the installation, please make sure you have the following components enable on your server

`

- PHP 7.2 or greater
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Ctype PHP Extension
- JSON PHP Extension
- GD PHP Extension (or Imagick PHP Extension)
- PHP Fileinfo extension
- PHP Zip Archive
- Rewrite Module (Apache or Nginx)

`

PHP.INI Requirements

`

- open_basedir must be disabled

`

File and folder permissions

`

- /bootstrap 775
- /storage 775 (recursively)

`

## Installation Instructions

- Create a database
- Upload the contents of Codes folder to your server root, usually /path/to/www/html or /path/to/public_html/

- Run by entering the URL: http://localhost or http://domain.com
  If the installation page is viewable then kindly skip the below instructions and follow the Installation Steps given below.
  If not then, enter this url: http://localhost/public or http://domain.com/public. if viewed successfully then follow the above steps.
  If you wish to remove public directory.So you need to add .htaccess file with some configuration.
  For that enter the below command in terminal:

    sudo a2enmod rewrite
    sudo vi /etc/apache2/apache2.conf

- sudo service apache2 restart
- Now, you have successfully run with localhost.

Installation Steps:-

- Step 1:
- Step 2:
- Step 3:

If you face any permission issue then please run this command

    sudo chgrp -R www-data storage bootstrap/cache sudo chmod -R ug+rwx storage bootstrap/cache

- Else
- Step 4:
- Step 5:
- Step 6:
- Step 7:
- Step 8:

  While installation if you face database access denied issue then please run this commond

    chmod 777 .env

Else

## Mail Configuration

Setup

- Create the database on your server
- Open and edit the /.env file and provide your server details:

    MAIL_DRIVER=smtp
    MAIL_HOST=smtp.gmail.com
    MAIL_PORT=587
    MAIL_USERNAME=
    MAIL_PASSWORD=
    MAIL_ENCRYPTION=tls

- You are done

## App Configuration

Setup

- Open and edit the /.env file and provide following details:

    APP_NAME="IQONIC"
    APP_ENV=local
    APP_KEY=base64:HA5sAVrjrXO5YcGf4JqQSyzu+/ZICNkKsPz6m4dJDok=
    APP_DEBUG=true
    APP_URL=http://127.0.0.1:8000

- Enter App name, App env, App key, App debug and App url
- You are done

## Directory Structure

- app
  - The app directory holds the base code for your Laravel application.
- bootstrap
  - The bootstrap directory holds all the bootstrapping scripts used for your application.
- config
  - The config directory holds all your project configuration files (.config).
- database
  - The database directory holds your database files.
- public
  - The public directory helps in starting your Laravel project and also holds other scripts (JavaScript and CSS) as well along with images required for your project.
- resources
  - The resources directory holds all the Sass files, language (localization) files, templates (if any).
- routes
  - The routes directory hold all your definition files for routing such as console.php, api.php, channels.php etc.
- storage
  - The storage directory holds your session files, cache, compiled templates as well as miscellaneous files generated by the framework.
- test
  - The test directory holds all your test cases.
- vendor
  - The vendor directory holds all composer dependency files.

## App Directory Structure

- Console
  - The Console directory contains all your project artisan commands.
- Datatables
  - Data Tables
- Exceptions
  - The Exceptions directory holds your laravel project's exception handling files which handles all the exceptions thrown by your Laravel project.
- Helper
  - All Helper fuction define inside helper.php
- Http
  - The Http directory holds different filters, requests, and controllers.
- Providers
  - The Providers directory is used for containing different service providers.

## HTTPS Structure

- Controllers
- Middleware
- Requests

## Resources

All Blades and view files.

## Settings

You can control and manage your theme settings from here.

## General Settings

- Logo
  - Select and upload the logo
- Favicon
  - Select and upload the favicon
- URLS
  - You can set social media links from here
- Others
  - You can provide other details for the website such as Site Name, Site Email, Site Description, Copyright Text

## Home Page Settings

- Slide Title
  - Set the slide title for slider
- Slide Text
  - Set the slide description for slider
- Page Title Background
  - Set the page title background
- Slides
  - Upload slider images for homepage

## Contact Page Settings

- Title
  - Set the title
- Contact Email
  - Set the contact email address for contact page
- Contact Number
  - Set the contact number for contact page
- Map Latitude and Longitude
  - Set the latitude and longitude for map
- Address
  - Set the address for contact page

## Backend

User Roles:

In this template we have provided the below roles:

- Admin Role
- Leader Role
- Employee Role
- Support Role
- User Role
- External Role

Manage Permissions:

Module wise permission for each roles.

## Admin Role

Admin can add Departments, Employees, Users, Categories, etc.

Departments:

Enter Department Name, Department Leader, and select status.

Employees:

Select Department, Enter full name, email id, password, etc.

Users:

Enter full name, email id, password, etc.

Categories:

Enter category name, select status and upload category image.

## Leader Role

Leader can add Articles, Videos, Knowledge, etc. Leader can also assign tickets to employee.

Articles:

Enter article title, select category, select status, choose image and enter content description.

Videos:

Enter title, select category, select status, upload video and enter content description.

Knowledge:

Enter title, select category, select status, and enter content description.

## Employee Role

Employee can add Articles, Videos, Knowledge, etc.

Articles:

Enter article title, select category, select status, choose image and enter content description.

Videos:

Enter title, select category, select status, upload video and enter content description.

Knowledge:

Enter title, select category, select status, and enter content description.

## User Role

User can raise the ticket, view his own ticket and public tickets, and close his own ticket.

## External Role

You can add new role. You can also set module wise permission for each role.

## Frontend

Homepage

Public Tickets

Articles

Knowledge Base