## Installation

### Basic Installation

Steps to be followed for getting started with the template:

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

1. PHP 7.2 or greater
2. OpenSSL PHP Extension
3. PDO PHP Extension
4. Mbstring PHP Extension
5. Tokenizer PHP Extension
6. XML PHP Extension
7. Ctype PHP Extension
8. JSON PHP Extension
9. GD PHP Extension (or Imagick PHP Extension)
10. PHP Fileinfo extension
11. PHP Zip Archive
12. Rewrite Module (Apache or Nginx)

PHP.INI Requirements

1. open_basedir must be disabled

File and folder permissions

1. /bootstrap 775
2. /storage 775 (recursively)

### Installation Instructions

1. Create Database
2. Upload the Codes in below directory based on your server
   In Linux
   Path: var/www/html/
   In cPanel:
   Inside File manager -> Path: public_html/
3. For database settings, open the .env file with a text editor and set your database settings.
   Note: .env is a hidden file, you can see it by opening directory to a text editor.
4. Link your storage folder to public
   Run in terminal or CMD: php artisan storage:link
5. Install node_modules
   Run in terminal or CMD: npm install
6. To build css and js for Run in terminal or CMD: npm run dev Or npm run prod Or npm run watch

### App Configuration

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

    APP_NAME=your app name
    APP_ENV=production
    APP_KEY=your key
    APP_DEBUG=false
    APP_URL=your app url

2. Enter App name, App env, App debug and App url
   Run in terminal or CMD: php artisan key:generate generate App key

### Database Configuration

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

    DB_CONNECTION=mysql
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=laravel
    DB_USERNAME=root
    DB_PASSWORD=

3. Enter database name, database username, database password and the host details
4. Setup datebase table to Run in terminal or CMD: php artisan migrate --seed Or php artisan migrate:fresh --seed

### Mail Configuration

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

    MAIL_DRIVER=your mail driver
    MAIL_HOST=your mail host
    MAIL_PORT=your mail port
    MAIL_USERNAME=your mail id
    MAIL_PASSWORD=your mail password
    MAIL_ENCRYPTION=your mail encryption

2. Enter mail host name, mail port, mail username( Mail ID ), mail password and mail encryption type.

### Folder Structure

Here is the general structure of Laravel application:

    metorik-dashboard
    | - app
       | - console
       | - DataTables
       | - Exceptions
       | - Helper
       | - Http
          | - Controllers
          | - Middleware
       | - Providers
       | - Traits
    | - bootstrap
       | - cache
    | - config
    | - database
       | - factories
       | - migrations
       | - seeds
    | - public
       | - assets
          | - css
          | - fonts
          | - images
          | - img
             | - icons
                | - common
                | - user
       | - css
       | - js
    | - resources
       | - js
          | - components
       | - lang
          | - en
       | - sass
       | - view
          | - appointment
          | - auth
          | - board
          | - boardtask
          | - category
          | - Charts
          | - dashboard
          | - ExtraPages
          | - Helper
          | - Icons
          | - layouts
          | - Maps
          | - partials
          | - permission
          | - role
          | - service
          | - setting
          | - UIElements
          | - user
             | - profile
    | - routes
    | - tests
       | - Feature
       | - Unit

    - .editorconfig
    - .env
    - .env.example
    - .styleci.yml
    - artisan
    - composer.json
    - package.json
    - README.md
    - webpack.mix.js

### User credentials

    username:admin@admin.com
    password:12345678

### Bootstrap Components

Bootstrap has wonderfull documentation on the following components::

- Row Alignments
- Alerts
- Badges
- Carousel
- Columns
- Tables
- Buttons

Bootstrap for extra component https://getbootstrap.com/docs/4.0/components/

### Browser Support

Supports all major Browsers like Google Chrome, Mozilla Firefox, Safari, Opera, Internet Explorer 9 and above.

### Source & Credits

All images and videos are for preview purposes only and are not included in the download files. Images are of copyrights under Creative Commons CC0.

#### Images

- bigstockphoto bigstockphoto
- Pexels Pexels
- freepik freepik
- pixabay pixabay

#### Plugins

- Jquery
- Bootstrap
- Jquery appear
- Countdown
- Full Calendar
- AmChart
- ApexChart
- HighCharts
- Morris
- Lottie

#### CSS & Fonts

- Bootstrap
- Font Awesome
- ionicons
- remixicon
- Google Fonts