Files
icehrm/readme.md
2019-02-03 13:55:39 +01:00

4.2 KiB

IceHrm

Build Status

IceHrm is a HRM software which enable companies of all sizes to manage HR activities properly.

IceHrm is Backed by Glacies

Glacies

Installation

  • Download the latest release https://github.com/gamonoid/icehrm/releases/latest

  • Copy the downloaded file to the path you want to install iCE Hrm in your server and extract.

  • Create a mysql DB for and user. Grant all on iCE Hrm DB to new DB user.

  • Visit iCE Hrm installation path in your browser.

  • During the installation form, fill in details appropriately.

  • Once the application is installed use the username = admin and password = admin to login to your system.

Note: Please rename or delete the install folder (/app/install) since it could pose a security threat to your iCE Hrm instance.

Manual Installation

Upgrade from Previous Versions to Latest Version

Refer: http://blog.icehrm.com/docs/upgrade/

Setup IceHrm Development Environment

IceHrm development environment is packaged as a Vagrant box. I includes php7, nginx, phpunit and other software required for running icehrm

Preparing development VM with Vagrant

~ $ vagrant up
  • Run vagrant ssh to login to the Virtual machine
~ $ vagrant ssh
  • Setup the Vagrant box
~ $ sudo apt-get install ant
~ $ sudo chmod -R 777 /var/log/nginx
~ $ cd /vagrant
~ $ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
~ $ sudo apt-get install -y nodejs
~ $ sudo sed 's/server_name clients.app.dev/server_name clients.icehrm-open.test/g' /etc/nginx/sites-available/clients.app.com > /tmp/clients.app.com
~ $ sudo mv /tmp/clients.app.com /etc/nginx/sites-available/clients.app.com
~ $ sudo sed 's/server_name app.app.dev/server_name app.icehrm-open.test/g' /etc/nginx/sites-available/app.app.com > /tmp/app.app.com
~ $ sudo sed 's#root /vagrant/build/app#root /vagrant#g' /tmp/app.app.com > /tmp/mod.app.app.com
~ $ sudo mv /tmp/mod.app.app.com /etc/nginx/sites-available/app.app.com
~ $ npm install
~ $ sudo npm install -g gulp-cli
~ $ sudo service php7.0-fpm restart
~ $ sudo service nginx restart
  • Build Icehrm (your icehrm root directory is mapped to /vagrant/ directory in VM)
~ $ gulp
~ $ ant buildlocal
  • Execute table creation scripts
~ $ mysql -udev -pdev dev < /vagrant/core-ext/scripts/icehrmdb.sql
~ $ mysql -udev -pdev dev < /vagrant/core-ext/scripts/icehrm_master_data.sql
~ $ mysql -udev -pdev dev < /vagrant/core-ext/scripts/icehrm_sample_data.sql
~ $ cd /vagrant
~ $ phpunit