setting up local/pprod/prod
This commit is contained in:
parent
d6806127b9
commit
a9a530c440
15
config/api.local.php
Normal file
15
config/api.local.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
'aliases' => [
|
||||
'models' => [
|
||||
'ApiTag' => 'App\Models\Tag',
|
||||
'ApiCart' => 'App\Models\Cart',
|
||||
'ApiCarrier' => 'App\Models\Carrier',
|
||||
'ApiOrderDetail' => 'App\Models\Order\OrderDetail'
|
||||
],
|
||||
'controllers' => [
|
||||
'ApiBaseController' => 'App\Web\Controllers\Controller',
|
||||
],
|
||||
],
|
||||
);
|
15
config/api.pprod.php
Normal file
15
config/api.pprod.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
'aliases' => [
|
||||
'models' => [
|
||||
'ApiTag' => 'App\Models\Tag',
|
||||
'ApiCart' => 'App\Models\Cart',
|
||||
'ApiCarrier' => 'App\Models\Carrier',
|
||||
'ApiOrderDetail' => 'App\Models\Order\OrderDetail'
|
||||
],
|
||||
'controllers' => [
|
||||
'ApiBaseController' => 'App\Web\Controllers\Controller',
|
||||
],
|
||||
],
|
||||
);
|
15
config/api.prod.php
Normal file
15
config/api.prod.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
'aliases' => [
|
||||
'models' => [
|
||||
'ApiTag' => 'App\Models\Tag',
|
||||
'ApiCart' => 'App\Models\Cart',
|
||||
'ApiCarrier' => 'App\Models\Carrier',
|
||||
'ApiOrderDetail' => 'App\Models\Order\OrderDetail'
|
||||
],
|
||||
'controllers' => [
|
||||
'ApiBaseController' => 'App\Web\Controllers\Controller',
|
||||
],
|
||||
],
|
||||
);
|
7
config/env.prod.php
Normal file
7
config/env.prod.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
putenv('APP_ENV=prod');
|
||||
putenv('APP_DEBUG=false');
|
||||
putenv('APP_KEY=e!MV*C9N*B5&#FJbyf*2c8m5QOJOGeQ6&8eCL_qo');
|
||||
putenv('APP_TIMEZONE=UTC');
|
||||
putenv('PRESTASHOP_AUTOLOAD=/../../config/autoload_lumen.php');
|
||||
putenv('PRESTASHOP_CONFIG=/../../config/config.inc.php');
|
5
config/wsse.local.php
Normal file
5
config/wsse.local.php
Normal file
@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'ttl' => 0,
|
||||
]
|
Loading…
Reference in New Issue
Block a user