14use Symfony\Component\Console\Input\InputInterface;
15use Symfony\Component\Console\Output\OutputInterface;
27 $this->setDescription(
"Creates a fresh ILIAS installation based on the config");
32 $io->
title(
"Installing ILIAS");
37 $io->
success(
"Installation complete. Thanks and have fun!");
40 public function execute(InputInterface $input, OutputInterface $output)
44 define(
"ILIAS_SETUP_IGNORE_DB_UPDATE_STEP_MESSAGES",
true);
45 return parent::execute($input, $output);
54 public function trackAchievementOf(
Objective $objective) :
void
57 public function isAchieved(
Objective $objective) :
bool
65 foreach (
$config->getKeys() as $k) {
76 "Install and update ILIAS",
An exception for terminatinating execution or to throw for unit testing.
An agent that is just a collection of some other agents.
withConfigFor(string $component, $config)
Stores a config for some component in the environment.RuntimeException if this config is already in t...
Wrapper around symfonies input and output facilities to provide just the functionality required for t...
printOutroMessage(IOWrapper $io)
printIntroMessage(IOWrapper $io)
getObjective(Agent $agent, ?Config $config)
execute(InputInterface $input, OutputInterface $output)
buildEnvironment(Agent $agent, ?Config $config, IOWrapper $io)
A objective collection is a objective that is achieved once all subobjectives are achieved.
Tracks the achievement of objectives.
A agent is some component that performs part of the setup process.
A configuration for the setup.
An environment holds resources to be used in the setup process.
const RESOURCE_ACHIEVEMENT_TRACKER
const RESOURCE_ADMIN_INTERACTION
An objective is a desired state of the system that is supposed to be created by the setup.