Giter Site home page Giter Site logo

sph's Introduction

SPH

Una herramienta CLI que autmatiza el desglose de horas trabajadas por el capital humano de una organizacion.

Prerequisitos

  • PHP >= 7.1.0
  • Composer

Empezando

Clonamos el repositorio e instalamos dependencias

user@user:~$ git clone https://gitlab.com/lucianoldf/sph.git
user@user:~$ cd sph/
user@user:~/sph$ composer install

Uso basico CLI

Para ejecutar:

user@user:~/sph$ php sph.php

SPH buscara en el directorio ./import/ el archivo .xlsx mas reciente e intentara importarlo y procesarlo. El resultado del proceso se deberia mostrar por la salida estandar y ademas crear un archivo xlsx en el directorio ./export/

Para obtener mas informacion sobre las posibilidades de opciones

user@user:~/sph$ php sph.php -h

Podemos indicar especificamente que arhicov queremos importar:

user@user:~/sph$ php sph.php --i-file=./import/planilla_horas_base_2.xlsx

Tambien indicando el archivo que se importa y que se exporta:

user@user:~/sph$ php sph.php --i-file=./import/planilla_input_test_2q_septimebre_2019.xlsx --o-file=./testeo.xlsx

Ejecucion con GUI (WEB)

user@user:~/sph$ php -S localhost:8000
[Mon Oct 12 19:51:52 2020] PHP 7.4.3 Development Server (http://localhost:8000) started

Ingresar al navegador (firefox, chrome, IE, safari, etc...) a la url localhost:8000

Deberia verse algo asi: "Home SPH GUI Image"

Pruebas automaticas

por ahora no hay.... ;)

Licencia

Este proyecto esta licenciado bajo MIT License - mirar el achivo LICENSE.md para mas detalles

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.