Skip to content

Commit

Permalink
chore: add local config example file
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Jul 2, 2024
1 parent 247ee9f commit 88d5e7b
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions site/config-local.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?php

namespace ProcessWire;

/** @var Config $config */

$config->debug = true;
$config->advanced = true;

// database etc
$config->dbName = 'db';
$config->dbUser = 'db';
$config->dbPass = 'db';
$config->dbHost = 'db';
$config->userAuthSalt = '12345';
$config->tableSalt = '12345';
$config->httpHosts = ['site-rockfrontend.ddev.site'];
$config->sessionFingerprint = false;

// RockFrontend
$config->livereload = 1;
$config->livereloadBuild = true;

// RockMigrations
// $config->filesOnDemand = 'https://your-live.site/';
$config->rockmigrations = [
'syncSnippets' => true,
];

// tracy config for ddev development
$config->tracy = [
'outputMode' => 'development',
'guestForceDevelopmentLocal' => true,
'forceIsLocal' => true,
'localRootPath' => getenv("TRACY_LOCALROOTPATH"),
'numLogEntries' => 100, // for RockMigrations
'editor' => 'cursor://file/%file:%line',
];

0 comments on commit 88d5e7b

Please sign in to comment.