Laurus

Laurus documentation version 1.0


Introduction

  • Item Name : Laurus | Pharmacy Management System
  • Item Version : v 1.0
  • Author : Enlilweb
  • Support Forum : Send

First of all, Thank you so much for purchasing this cms
You are entitled to get free lifetime updates to this product + exceptional support from the author directly.

This documentation is to help you regarding each step of customization. Please go through the documentation carefully to understand how this cms is made and how to edit this properly.

Requirements

You will need the following sofwares to customize this template.

  1. Code Editing Software (eg: Dreamweaver, Sublime Text or Notepad)
  2. Web Browser for testing (eg: Google Chrome or Mozilla Firefox)
  3. FTP Tool to upload files to Server (eg: FileZilla)

What is Laurus ? #back to top

Laurus is project to management the pharmacy without any problems, The Laurus script has a lot of features that make managing your pharmacy easy and fast.

How to Install Laurus #back to top

Install laurus using wizard

You can install laurus by install wizard is auto open if the DB_NAME in Laurus/.env is homestead if is not homestead you will see 404 error not found or database Connection problems.
If installation wizard not open go to www.yoursite.com/install

Manually installation

Upload Laurus script

Make your document root of domain read from /public folder

Now open Laurus/.env file you will see

                   
APP_ENV=local
APP_KEY=
APP_DEBUG=false
APP_LOG_LEVEL=debug
APP_URL=http://localhost

DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=database name
DB_USERNAME=username
DB_PASSWORD=password

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=

                            
  1. APP_ENV: The name of your project
  2. APP_DEBUG: Show the error
  3. APP_URL: Your website url
  4. DB_DATABASE: Database name
  5. DB_DATABASE: Database username
  6. DB_PASSWORD: Database password

If you need connect to stmp for restore password ..etc

  1. MAIL_HOST: SMTP host
  2. MAIL_PORT: SMTP port
  3. MAIL_USERNAME: SMTP username
  4. MAIL_PASSWORD: SMTP password
  5. MAIL_ENCRYPTION: smtp encryption types (SSL - TLS )

if you don't see the .env file enable the (show hidden files) .

If is everything is good , connect to your website using SSH ? do you now how to connect ? ok if you don't know just open the terminal or putty

write this command

                    ssh -l (username) (site) -p 22

                    exm: ssh -l me enlilweb.com -p 22

                    password = cpanel password
                    

After connect go to the project directory and execute this 2 command.

                    1- php artisan migrate // create database
                    2- php artisan db:seed // create default username
                    

The Default user

  • E-mail : laurus@ph.net
  • Password : laurus

After login you can change the email or password from account setting.

Now the script is installed :)

Problem and solution #back to top

500 Internal Server

This problem was on accessing the files and requiring permissions, so you need to give the public directory 755 permission & /storage 757, to change that you can useing cpanel or ssh.

                         1- chmod 755 -R Laurus
                         2- chmod -R o+w Laurus/storage
                          
If you use the shared hosting and you still see this problem.
  1. Go to Laurus/public folder and cut everything and past in /Laurus (project root).
  2. Open index.php and remove everything and cut this code and past in and save the file.

Plugins #back to top

Chart #1

Simple, clean and engaging HTML5 based JavaScript charts. Chart.js is an easy way to include animated, interactive graphs on your website for free.

printThis #2

Simple plugin in to print page by @jasonday

Bootbox #3

Bootbox.js is a small JavaScript library which allows you to create programmatic dialog boxes using Bootstrap modals, without having to worry about creating, managing or removing any of the required DOM elements or JS event handlers.

Toastr #4

Toastr is a Javascript library for non-blocking notifications. jQuery is required. The goal is to create a simple core library that can be customized and extended.

Trumbowyg #5

Trumbowyg is a simple and lightweight WYSIWYG editor