public static function configureProject(Event $event)
{
$web = static::configureDir($event, 'web', 'public', '', false);
$themes = static::configureDir($event, 'theme', 'theme', $web . '/');
$files = static::configureDir($event, 'files', 'files', $web . '/');
$config = static::configureDir($event, 'config', 'app/config');
$database = static::configureDir($event, 'database', 'app/database');
$cache = static::configureDir($event, 'cache', 'app/cache');
static::configureGitIgnore($event);
$config = ['paths' => ['cache' => $cache, 'config' => $config, 'database' => $database, 'web' => $web, 'themebase' => $themes, 'files' => $files, 'view' => $web . '/bolt-public/view']];
$filesystem = new Filesystem();
$filesystem->dumpFile('.bolt.yml', Yaml::dump($config));
$chmodDirs = ['extensions', $web . '/extensions', $web . '/thumbs'];
$filesystem->chmod($chmodDirs, static::configureDirMode($event));
// reset app so the path changes are picked up
static::$app = null;
// Install assets here since they they were skipped above
static::installAssets($event, false);
}