KiviCare (TM) Pharma Addon- Documentation
KiviCare (TM) Pharma Addon

Manual Installation

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

📌 What is this file for?

This file provides a step-by-step manual setup guide for the KiviCare Laravel project. It is ideal for developers who prefer to work in a local development environment without using the automatic installer.
If you’re working offline, customizing the codebase, or setting up Laravel manually for testing or development purposes, this guide will help you configure everything from dependencies to the local server.

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

🧱 Purpose

This guide is for developers who prefer to manually install the Laravel project without using the auto-installer. This approach is ideal for local development and full control over setup.

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

Step-by-Step Manual Installation

Step 1: Open Command Prompt or Terminal

  • Open Command Prompt (Windows) or Terminal (macOS/Linux).
  • Navigate to your Laravel project directory:
cd laravel

Step 2: Install Required Vendor Packages

  • Run the following command to install Laravel’s dependencies via Composer:
composer install

💡 Make sure Composer is already installed on your system.

Step 3: Create the .env File

  • Create a new environment configuration file by copying the example file:
cp .env.example .env

This .env file stores your app settings like database credentials, mail config, etc.

Step 4: Generate Application Key

  • Generate a unique key for your Laravel app:
php artisan key:generate

This key is used to encrypt data and secure the application.

Step 5: Set Up the Database

  1. Create a new database named:
health-wellness

You can use tools like XAMPP, WAMP, Laragon, or SQLYog to create the database.

  1. Open the .env file and update the following database details:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=health-wellness
DB_USERNAME=your_database_username
DB_PASSWORD=your_database_password

💡 Replace your_database_username and your_database_password with your actual MySQL login credentials.

Optional: Disable Dummy Data (If Not Needed)

If you don’t want dummy data inserted, update this line in the .env file:

IS_DUMMY_DATA=false

Step 6: Run Migrations and Seed the Database

To create database tables and insert default data, run:

php artisan migrate
php artisan db:seed

OR (for a fresh setup):

php artisan migrate:fresh --seed

Step 7: Start the Laravel Project

To run your Laravel app locally, use:

php artisan serve

Your app will be accessible at:
👉Example for http://127.0.0.1:8000

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

🔐 Demo Login Credentials

You can use any of the following test accounts to log in:

Admin Login
  • 📧 Email: demo@kivicare.com
  • 🔑 Password: 12345678
Doctor Login
  • 📧 Email: doctor@kivicare.com
  • 🔑 Password: 12345678
Receptionist Login
  • 📧 Email: receptionist@kivicare.com
  • 🔑 Password: 12345678
User Login
  • 📧 Email: john@gmail.com
  • 🔑 Password: 12345678