From 88d5e7bc8739b149ee7e51518f80ebb6da5d28b2 Mon Sep 17 00:00:00 2001 From: BernhardBaumrock Date: Tue, 2 Jul 2024 14:40:39 +0200 Subject: [PATCH] chore: add local config example file --- site/config-local.php | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 site/config-local.php diff --git a/site/config-local.php b/site/config-local.php new file mode 100644 index 0000000..2b44928 --- /dev/null +++ b/site/config-local.php @@ -0,0 +1,38 @@ +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', +];