Manage your employees easily with a robust and efficient Human Resource Management System
IceHrm
IceHrm is an HRM software which enable companies to manage employee details and HR workflows.
Installation Using Docker
git clone https://github.com/gamonoid/icehrm.git
cd icehrm
npm run setup
npm run docker:build
npm run docker:start
admin
as username and password.icehrm/docker/production/app_data
Installation (without docker)
Upgrade from Previous Versions
Refer: https://icehrm.com/explore/docs/upgrade-icehrmpro/
Setup Development Environment
git clone https://github.com/gamonoid/icehrm.git
cd icehrm
docker-compose up -d
admin
as username and password.Extend IceHrm with custom Extensions
php ice create:extension sample admin
Sample Admin
icehrm/extensions/sample/admin
Building frontend assets
cd icehrm/web
npm install
cd ..
npm install
gulp clean
gulp
gulp clean
gulp --eprod
gulp ejs --xextension_name/admin
Debugging code with psysh
You can run psysh inside the icehrm web docker container to manually debug the code.
docker compose up -d
docker exec -it icehrm-icehrm-1 /bin/sh
./psysh -c ./.config/psysh/config.php
This will open a psysh console. You can instantiate any IceHrm class and debug it. Here is an example of creating an employee object and loading an employee from the database.
$emp = new \Employees\Common\Model\Employee();
$emp->Load('id = ?',[1]);
var_dump($emp);
Running tests (Docker)
docker-compose -f docker-compose-testing.yaml up --exit-code-from cypress
or
docker-compose -f docker-compose-testing.yaml up --exit-code-from cypress --build --force-recreate
docker-compose -f docker-compose-prod.yaml up -d --build
Useful Links
Twice a month we will interview people behind open source businesses. We will talk about how they are building a business on top of open source projects.
We'll never share your email with anyone else.