protected function createDB()
    {
        $this->output->writeLn("Generating MySQL database based on the environment's configuration.");
        $command = sprintf("%s db create", $this->getWpCliPath());
        system($command);

        $this->nl();

        $title = 'StrataEnvironment';
        $adminUser = "admin";
        $adminPassword = "admin";
        $adminEmail = "admin@yourdomain.com";

        $this->output->writeLn("Installing using the following administrator information:");
        $this->output->writeLn("  Title:      $title");
        $this->output->writeLn("  User:       $adminUser");
        $this->output->writeLn("  Password:   $adminPassword");
        $this->output->writeLn("  Email:      $adminEmail");

        $command = sprintf("%s core install --url=%s --title=%s --admin_user=%s --admin_password=%s --admin_email=%s", $this->getWpCliPath(), WP_HOME, $title, $adminUser, $adminPassword, $adminEmail);
        system($command);
    }
protected function createDB()
    {
        $this->output->writeLn("Generating MySQL database based on the environment's configuration.");
        $command = sprintf("%s db create", $this->getWpCliPath());
        system($command);

        $this->nl();

        $title = 'StrataEnvironment';
        $adminUser = "admin";
        $adminPassword = "admin";
        $adminEmail = "admin@yourdomain.com";

        $this->output->writeLn("Installing using the following administrator information:");
        $this->output->writeLn("  Title:      $title");
        $this->output->writeLn("  User:       $adminUser");
        $this->output->writeLn("  Password:   $adminPassword");
        $this->output->writeLn("  Email:      $adminEmail");

        $command = sprintf("%s core install --url=%s --title=%s --admin_user=%s --admin_password=%s --admin_email=%s", $this->getWpCliPath(), WP_HOME, $title, $adminUser, $adminPassword, $adminEmail);
        system($command);
    }
protected function createDB ( ) { $ this -> output -> writeLn ( "Generating MySQL database based on the environment's configuration." ) ; $ command = sprintf ( "%s db create" , $ this -> getWpCliPath ( ) ) ; system ( $ command ) ; $ this -> nl ( ) ; $ title = 'StrataEnvironment' ; $ adminUser = "admin" ; $ adminPassword = "admin" ; $ adminEmail = "admin@yourdomain.com" ; $ this -> output -> writeLn ( "Installing using the following administrator information:" ) ; $ this -> output -> writeLn ( "  Title:      $title" ) ; $ this -> output -> writeLn ( "  User:       $adminUser" ) ; $ this -> output -> writeLn ( "  Password:   $adminPassword" ) ; $ this -> output -> writeLn ( "  Email:      $adminEmail" ) ; $ command = sprintf ( "%s core install --url=%s --title=%s --admin_user=%s --admin_password=%s --admin_email=%s" , $ this -> getWpCliPath ( ) , WP_HOME , $ title , $ adminUser , $ adminPassword , $ adminEmail ) ; system ( $ command ) ; }
Creates the project's database.
Creates the project s database .