Commit 1575e33c authored by Nicolas Widart's avatar Nicolas Widart

Publishing assets in the install command

parent 62a0f50e
......@@ -60,6 +60,8 @@ class InstallCommand extends Command
$this->createFirstUser();
$this->publishAssets();
$this->blockMessage('Success!', 'Platform ready! You can now login with your username and password at /backend');
}
......@@ -119,4 +121,12 @@ class InstallCommand extends Command
$formattedBlock = $formatter->formatBlock($errorMessages, $style, true);
$this->line($formattedBlock);
}
/**
* Publish the CMS assets
*/
private function publishAssets()
{
$this->call('module:publish', ['module' => 'Core']);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment