KiviLabs - Documentation

Manual Installation

You’re setting up the development environment to create your web application.

1. Start command prompt window or terminal and change directory to kivilabs

cd kivilabs

2. For installing vendor run in terminal or CMD:

composer install

3. Copy .env file run in terminal or CMD:

cp .env.example .env

4. For generating key run in terminal or CMD:

php artisan key:generate

5. Create database with name “health-wellness” in your sqlyog,laragon,xampp,wamp

  • 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="YOUR DATABASE NAME"
DB_USERNAME="YOUR USERNAME"
DB_PASSWORD="YOUR PASSWORD"
  • If you want a dummy data into the application, you have to set this key to true
IS_DUMMY_DATA=false

Then run the below commands

php artisan migrate
php artisan db:seed

or

php artisan migrate:fresh --seed

6. For installing node_modules run in terminal or CMD:

npm install

7. For building css and js run in terminal or CMD:

npm run dev

or

npm run build

or

npm run watch

8. To run project

php artisan serve

9. Login Credentials

For Admin Login

Username:demo@kivilab.com
Password:12345678

or

For Doctor Login

Username:doctor@kivilab.com
Password:12345678

OR

For Receptionist Login

Username:receptionist@kivilab.com
Password:12345678

OR

For User Login

  Username:john@gmail.com
Password:12345678