Example #1
0
 /**
  * Fire the install script.
  *
  * @param Command $command
  *
  * @return mixed
  */
 public function fire(Command $command)
 {
     if ($command->option('verbose')) {
         $command->blockMessage('Seeds', 'Running the module seeds ...', 'comment');
     }
     $this->demoSeedCoreModules($command);
     $this->demoSeedAdditionalModules($command);
 }
Example #2
0
 /**
  * Fire the install script.
  *
  * @param Command $command
  *
  * @return mixed
  */
 public function fire(Command $command)
 {
     $this->command = $command;
     if ($command->option('verbose')) {
         $command->blockMessage('User', 'Creating Admin User...', 'comment');
     }
     $this->seedAdminRole();
     $this->createFirstUser();
 }
Example #3
0
 /**
  * Fire the install script.
  *
  * @param Command $command
  *
  * @throws Exception
  *
  * @return mixed
  */
 public function fire(Command $command)
 {
     $this->command = $command;
     if ($command->option('verbose')) {
         $command->blockMessage('Requirements', 'Checking System Requirements ...', 'comment');
     }
     $this->checkPHPVersion();
     $this->checkExtensions();
     $this->showResults();
 }
Example #4
0
 /**
  * Fire the install script.
  *
  * @param Command $command
  *
  * @return mixed
  */
 public function fire(Command $command)
 {
     if ($command->option('verbose')) {
         $command->blockMessage('Themes', 'Publishing theme assets ...', 'comment');
     }
     if ($command->option('verbose')) {
         $command->call('stylist:publish');
         return;
     }
     $command->callSilent('stylist:publish');
 }
Example #5
0
 /**
  * Fire the install script
  * @param  Command $command
  * @return mixed
  */
 public function fire(Command $command)
 {
     if ($command->option('verbose')) {
         $command->blockMessage('Seeds', 'Running the module seeds ...', 'comment');
     }
     foreach ($this->modules as $module) {
         if ($command->option('verbose')) {
             $command->call('module:seed', ['module' => $module]);
             continue;
         }
         $command->callSilent('module:seed', ['module' => $module]);
     }
 }
Example #6
0
 /**
  * Fire the install script
  * @param  Command $command
  * @return mixed
  */
 public function fire(Command $command)
 {
     if ($command->option('verbose')) {
         $command->blockMessage('Module assets', 'Publishing module assets ...', 'comment');
     }
     foreach ($this->modules as $module) {
         if ($command->option('verbose')) {
             $command->call('module:publish', ['module' => $module]);
             continue;
         }
         $command->callSilent('module:publish', ['module' => $module]);
     }
 }
Example #7
0
 /**
  * Fire the install script
  * @param  Command $command
  * @return mixed
  */
 public function fire(Command $command)
 {
     if ($command->option('verbose')) {
         $command->blockMessage('Migrations', 'Starting the module migrations ...', 'comment');
     }
     foreach ($this->modules as $module) {
         if ($command->option('verbose')) {
             $command->call('module:migrate', ['module' => $module]);
             continue;
         }
         $command->callSilent('module:migrate', ['module' => $module]);
     }
 }
Example #8
0
 /**
  * Fire the install script
  * @param  Command $command
  * @return mixed
  */
 public function fire(Command $command)
 {
     $command->blockMessage('User Module', 'Starting the User Module setup...', 'comment');
     $this->configure('Sentinel', $command);
 }