Config, setup and bootstrap

This commit is contained in:
Juan Pablo Vial
2024-12-21 19:00:31 -03:00
parent 0fddc3a310
commit 211b6b0b94
10 changed files with 149 additions and 0 deletions

6
app/configs/commands.php Normal file
View File

@ -0,0 +1,6 @@
<?php
return [
'commands' => [
ProVM\Command\GenerateMigrations::class,
]
];

13
app/configs/env.php Normal file
View File

@ -0,0 +1,13 @@
<?php
return [
...$_ENV,
'start_date' => '20141101080000',
'skips' => [
'monolog',
'phinxlog',
'personas',
'datos_personas',
'proveedores',
'datos_proveedores'
]
];

8
app/configs/paths.php Normal file
View File

@ -0,0 +1,8 @@
<?php
return [
'paths.base' => dirname(__DIR__),
'paths.resources' => DI\String('{paths.base}/resources'),
'paths.database' => DI\String('{paths.resources}/database'),
'paths.migrations' => DI\String('{paths.database}/migrations'),
'paths.seeds' => DI\String('{paths.database}/seeds')
];