Easy HRM
  • πŸ•Getting Started
  • Installation
    • πŸ”©Application Requirement
    • πŸͺ›Application Installation
  • Administrator Login
    • πŸ–₯️Dashboard
    • πŸ—’οΈAttendance Logs
    • πŸ‘©β€πŸ­Employees
    • πŸ“½οΈProjects
    • πŸ“’Notice
    • πŸƒβ€β™‚οΈPriority
    • πŸ‘¨β€πŸ«Profile
    • πŸ”΅Role
    • πŸ—‘οΈTask
    • πŸš‰Leave Status
    • πŸ•¦Allocate Leave
    • β›³Holiday
    • πŸ†Reward
    • πŸ’ΈGenerate Payroll
    • βš™οΈConfiguration
  • Employee Login
    • πŸ–₯️Dashboard
    • βœ…Attendance
    • πŸ‘©β€πŸ«Profile
    • πŸ“½οΈProjects
    • πŸŽ›οΈTask
    • 🎒My Task
    • 🧳My Leaves
    • πŸ›³οΈHoliday Calendar
    • πŸ’²Salary Slip
  • Getting Help
    • πŸ“žContact Us
  • Project Customization
    • πŸ‘¨β€πŸ’»Developer Guide
  • Source and Credits
    • πŸ¦Έβ€β™‚οΈSource and credits
  • Policy
    • 🚨Application Policy
  • Conclusion
    • πŸ–‹οΈConclusion
Powered by GitBook
On this page
  • Installation on localhost
  • Installation on web hosting
  1. Installation

Application Installation

In this section, we will learn about how we can install one hrm in localhost or on the live server as well.

Installation on localhost

  • Unzip the script which you have downloaded

  • Start your xampp or wampp server

  • If you are using xampp please put the extracted file inside htdocs folder

  • Go to your .env file and set your database, database username, and database password

  • Open terminal from your project root folder

  • Run php artisan migrate

  • Run php artisan db:seed

  • Run php artisan serve

  • Go to browser and enter localhost:8000

Installation on web hosting

  • Unzip the script inside the public_html folder

  • Now copy the .htaccess file from the public folder and paste it into the project root folder

  • Now remove all the code from your .htacess file and the below code into it.

<IfModule mod_rewrite.c>
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^ ^$1 [N]

RewriteCond %{REQUEST_URI} (\.\w+$) [NC]
RewriteRule ^(.*)$ public/$1 

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ server.php
</IfModule>
  • Now open your .env file and update the below env variable as I have done in the below code example

APP_URL= your_app_url
DB_DATABASE=your_db_name
DB_USERNAME=your_db_username
DB_PASSWORD=your_db_password
  • Open your terminal and go to your project root folder then run the below command

  • Run php artisan migrate

  • Run php artisan db:seed

Note: If you face any issue regarding the storage issue, which is very rare to occur then in that case please run this command chmod -R 775 storage

PreviousApplication RequirementNextDashboard

Last updated 3 years ago

πŸͺ›