ldc-bogt/README.md
Jérémy Munsch 0511f31a01 Todos
2022-08-11 07:22:30 +00:00

927 B

BOGT / Tracabilité Loué

Installation

composer install
cp .env.example .env
php artisan key:generate
php artisan storage:link

Éditez le fichier .env puis :

php artisan migrate

Front :

npm install && npm run prod

Pour créer un compte admin :

php artisan user:create

Crons

Put every min in PROD :

php artisan schedule:run

Données

Pour synchroniser les aliments :

php artisan cafel:food

Pour synchroniser les données BEA (volaille) :

php artisan cafel:bea_vol

Pour synchroniser les mises en place (oeuf) :

php artisan cafel:mep_egg

Pour synchroniser les éleveurs (oeuf) :

php artisan cafel:breeder_egg

Pour synchroniser les éleveurs (volaille) :

php artisan cafel:breeder_poultry

Pour importer les XML (oeuf) :

php artisan xml:egg

Pour importer les XML (volaille) :

php artisan xml:poultry