### Installation

##### Server requirements

- PHP >= 7.4.0
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Ctype PHP Extension
- JSON PHP Extension
- ZIP PHP Extension
- BCMath PHP Extension

##### How to install

###### How to install in root directory-

1. Download the zipped file from CodeCanyon.
2. Upload the zipped file into cPanel / server.
3. Unzip the zipped file. Inside the unzipped folder you will get two folders "Documentation" and "upload"
4. Move all the items from the "upload" folder to the root directory.
5. Go to your web browser and type “your_domain.name” in the Address bar and follow the easy installer procedures step by step and install the application.
6. Create the database and remember these things for future usage.
   - database_name
   - username
   - password

###### How to install in subfolder-

1. Download the zipped file from CodeCanyon.
2. Upload the zipped file into cPanel / server.
3. Unzip the zipped file. Inside the unzipped folder you will get two folders "Documentation" and "upload"
4. Move all the items from the "upload" folder to /public_html/sub_folder directory.
5. Go to your web browser and type “your_domain.name/sub_folder” in the Address bar and follow the easy installer procedures step by step and install the application
6. Create the database and remember these things for future usage.
   - database_name
   - username
   - password

Note: Please remember to show hidden files. There are 2 files named .env and .htaccess which are hidden by default. Remember to upload all files.

###### How to test in local environment-

1. Make sure you have met our server requirements.
2. Make sure that node.js and composer are installed in your local environment.
3. Download the zipped file from CodeCanyon.
4. Unzip the zipped file. Inside the unzipped folder you will get two folders "Documentation" and "upload"
5. Move all the items from the "upload" folder to local directory from where you want to run the application
6. Open the folder in the Editor (phpstorm, vscode etc.)
7. Create a local database from phpmyadmin.
8. Update the database credentials in the .env file.
   DB_CONNECTION=mysql
   DB_HOST=127.0.0.1/localhost
   DB_PORT=3306
   DB_DATABASE=your_database_name
   DB_USERNAME=your_database_name
   DB_PASSWORD=your_database_password
9. Now, go to editor and open config/gain.php file and set 'installed' => true,
10. After that, go to database/seeders/DatabaseSeeder file and paste “UsersTableSeeder::class” inside the $this-> call () function.
11. Open terminal and run “php artisan migrate:fresh --seed”
12. Login with
    User: admin@demo.com
    Password: 123456
13. Now, open the browser and go to your local URL to run the Application locally.
14. Open the terminal and run "npm install". If you want to change anything into the vue (front end) code.

###### How to install in local environment-

1. Make sure you have met our server requirements.
2. Make sure that node.js and composer are installed in your local environment.
3. Download the zipped file from CodeCanyon.
4. Unzip the zipped file. Inside the unzipped folder you will get two folders "Documentation" and "upload"
5. Move all the items from the "upload" folder to local directory from where you want to run the application
6. Open the folder in the Editor (phpstorm, vscode etc.)
7. Create a local database from phpmyadmin.
8. On the terminal, run "php artisan serve"
9. Then you will get a URL in terminal: ex (http://127.0.0.1:8000)
10. Copy the URL from the terminal and paste the URL into the browser.
11. After that, complete the installation process. You should be able to use it locally