~danielside/rptparser

Parser de los Excel
mejoras de estilo
actualiza retribuciones
ba195331 — Danielside 2 years ago
Merge branch 'feature/behat' into 'master'

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~danielside/rptparser
read/write
git@git.sr.ht:~danielside/rptparser

You can also use your local clone with git send-email.

#Dependencias

Instalar gnumeric, que trae ssconvert.

Instalar php8.x y php8.x-mysql.

#BD

Creación y permisos:

create database xlstest;
grant all on xlstest.* to rpt identified by '';

#Pasos

Inicializar las tablas de xlstest, no importar puestos, cargar paises, provincias, localidades y retribuciones:

php src/parse.php --rpt=xlstest --init=true --import=false --retpaprovloc=true

Importar los puestos:

php src/parse.php --rpt=xlstest --init=false --import=true --retpaprovloc=false

#Fichero CLOCAMUN

Si se baja uno nuevo hay que convertirlo a UTF-8:

iconv -f ISO-8859-1 -t UTF-8 CLOCAMUN.TXT > CLOCAMUN_UTF8.TXT
Do not follow this link