Setup Development Environment

Here you will learn how to setup your development environment for icehrm

Clone the IceHrm repo

$ git clone https://github.com/gamonoid/icehrm.git

Check prerequisites

You will be more productive when using vagrant for your development environment

Install Virtual Box

Please download and install virtual box for your platform from here: https://www.virtualbox.org/wiki/Downloads

Install Vagrant

Instructions for installing vagrant https://www.vagrantup.com/docs/installation

Then we need to install vagrant host updater plugin

$ vagrant plugin install vagrant-hostsupdater

Build Frontend Assets

Icehrm has two pakage.json files. Once under the root and the other one under /web directory. NPM should run on both locations

$ npm install
$ cd web
$ npm install
$ cd ..
$ npm install -g gulp-cli
$ gulp

Add Development Configuration

Create file icehrm/app/config.php

Start Vagrant

The pre-built IceHrm vagrant box contains php 7.3 / nginx and MySQL 5.7 installed. Nginx configurations are loaded from icehrm/deployment/vagrant

Then navigate to http://icehrm.os and login with credentails, admin / admin

Last updated

Was this helpful?