Setup Development Environment
This guide walks you through setting up a local development environment for IceHrm using Docker.
Prerequisites
Before you begin, ensure you have the following installed on your system:
- Git
- Docker
- Docker Compose
Clone the Repository
Clone the IceHrm repository from GitHub:
git clone https://github.com/gamonoid/icehrm.git
cd icehrm
Start the Development Environment
Start the Docker containers:
docker build .
docker compose up -d
This command will:
- Download the required Docker images
- Create and configure the containers
- Set up the database
- Configure the web server
Access IceHrm
Once the containers are running, open your browser and navigate to:
http://localhost:9080/
Default login credentials:
- Username: admin
- Password: admin
Common Docker Commands
docker-compose up -d # Start containers in background
docker-compose down # Stop and remove containers
docker-compose restart # Restart containers
docker-compose logs # View container logs
docker-compose ps # List running containers