2018-08-15 17:13:52 -06:00
2018-08-15 15:00:12 -06:00
2018-08-12 01:25:11 +00:00
2018-08-12 01:25:11 +00:00
2018-08-03 23:57:22 -06:00
2018-08-15 17:15:25 -06:00

Payroll manager

This is a simple system to keep a record of employees where they will peform differnt tasks within the company and will be paid accordingly in a montly bases.

Getting started

Pre requisites

Installing docker

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

sudo apt-get update

apt-cache policy docker-ce

sudo apt-get install -y docker-ce
Installing docker compose

sudo curl -L https://github.com/docker/compose/releases/download/1.19.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

Starting up

To initialize the system it can be run with docker compose which will create the service for apache + php and the mysql instance used by the service

sudo docker-compose up --build -d
Note: if the service is run without docker it'll be necesary to adjust the connection parameters in the file

api-payroll/src/settings.php
The login page can be accessed at

http://localhost:8085/public/html/login.php
Note: To access the system the user is 'sloth' while the password is 'slothness'

For more detailed documentation about the different components:

api-payroll

database

Data volumes

Considerations when calculating the salary

Description
Coppel code challenge from 2018
Readme 2.9 MiB
Latest
2018-08-18 18:48:58 +00:00
Languages
JavaScript 52%
PHP 31.9%
Hack 12.4%
CSS 2.7%
Dockerfile 0.6%
Other 0.4%