VersionPress\Tests\Automation\WpAutomation::createPedestalBasedSite PHP Method

createPedestalBasedSite() private method

Pedestal (https://github.com/versionpress/pedestal) is inpired by Bedrock. It only have a standard wp-config-based configuration system and predefined Composer scripts for VersionPress.
    private function createPedestalBasedSite()
    {
        $process = new Process('composer create-project -s dev versionpress/pedestal .', $this->siteConfig->path);
        $process->run();
        $this->updateConfigConstant('DB_NAME', $this->siteConfig->dbName);
        $this->updateConfigConstant('DB_USER', $this->siteConfig->dbUser);
        $this->updateConfigConstant('DB_PASSWORD', $this->siteConfig->dbPassword);
        $this->updateConfigConstant('DB_HOST', $this->siteConfig->dbHost);
        $this->updateConfigConstant('WP_HOME', $this->siteConfig->url);
    }