first commit
This commit is contained in:
15
bin/provision.php
Normal file
15
bin/provision.php
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
use Netig\Netslim\Kernel\Runtime\Bootstrap;
|
||||
use Netig\Netslim\Kernel\Persistence\Infrastructure\Provisioner;
|
||||
|
||||
$bootstrap = Bootstrap::create(dirname(__DIR__), dirname(__DIR__));
|
||||
$container = $bootstrap->initializeInfrastructure();
|
||||
Provisioner::run($container->get(\PDO::class));
|
||||
|
||||
fwrite(STDOUT, "Provisioning termine.\n");
|
||||
Reference in New Issue
Block a user