mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-22 01:22:16 +00:00
functionality for setting default folders for app installation
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace App\Console\Commands;
|
||||
|
||||
use App\Page;
|
||||
use App\Services\SetupService;
|
||||
use App\Setting;
|
||||
use App\User;
|
||||
use Illuminate\Console\Command;
|
||||
@@ -34,6 +35,7 @@ class SetupDevEnvironment extends Command
|
||||
{
|
||||
parent::__construct();
|
||||
$this->faker = Faker\Factory::create();
|
||||
$this->setup = app()->make(SetupService::class);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -45,6 +47,9 @@ class SetupDevEnvironment extends Command
|
||||
{
|
||||
$this->info('Setting up development environment');
|
||||
|
||||
$this->info('Creating system directories...');
|
||||
$this->setup->create_directories();
|
||||
|
||||
$this->migrate_and_generate();
|
||||
$this->store_data();
|
||||
$this->seed_default_content();
|
||||
|
||||
Reference in New Issue
Block a user