aboutsummaryrefslogtreecommitdiff
path: root/config.pl.example
diff options
context:
space:
mode:
authorEmil Williams2025-08-20 14:23:06 +0000
committerEmil Williams2025-08-20 14:23:06 +0000
commitcc04457c99952083ee095d6eae069cb5d8307837 (patch)
treec665fb0c60a77bf636c0b76e7697f99225e6cc65 /config.pl.example
parentca0ab632948470e576e8ea1385499c577fd03422 (diff)
downloadgorillanest-cc04457c99952083ee095d6eae069cb5d8307837.tar.xz
gorillanest-cc04457c99952083ee095d6eae069cb5d8307837.tar.zst
Gorillas Break Down Your House And Sell It Wholesale
Diffstat (limited to 'config.pl.example')
-rw-r--r--config.pl.example6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.pl.example b/config.pl.example
new file mode 100644
index 0000000..fd39608
--- /dev/null
+++ b/config.pl.example
@@ -0,0 +1,6 @@
+# always assume anything to do with files is from project root
+use constant GIT_ROOT => 'git'; # directory containing all browsable $users/$repositories
+use constant DB_FILE => 'gorillanest.sqlite3'; # sqlite3 database file location
+use constant TEMPLATE_ROOT => 'template'; # template directory
+use constant USER_REPOSITORY => qr{^/([a-zA-Z0-9_.]+)(?:/([a-zA-Z0-9_.]+))?}; # $1 = username, $2 = repository fullname
+1;