summaryrefslogtreecommitdiff
path: root/data/config3_example.pl
diff options
context:
space:
mode:
Diffstat (limited to 'data/config3_example.pl')
-rw-r--r--data/config3_example.pl26
1 files changed, 26 insertions, 0 deletions
diff --git a/data/config3_example.pl b/data/config3_example.pl
new file mode 100644
index 00000000..d640df5f
--- /dev/null
+++ b/data/config3_example.pl
@@ -0,0 +1,26 @@
+{
+ # Canonical URL of this site
+ url => 'http://localhost:3000',
+ # And of the static files (may be the same as the above url)
+ url_static => 'http://localhost:3000',
+
+ # TUWF configuration options, see the TUWF::set() documentation for options.
+ tuwf => {
+ db_login => [ 'dbi:Pg:dbname=vndb', 'vndb_site', 'vndb_site' ],
+ xml_pretty => 0,
+ log_queries => 0,
+ debug => 1,
+ cookie_defaults => { domain => 'localhost', path => '/' },
+ mail_sendmail => 'log',
+ },
+
+ # Configuration of the authentication module (VNDB::Auth)
+ auth => {
+ csrf_key => '<some unique string>',
+ scrypt_salt => '<another unique string>',
+ },
+
+ # Uncomment if you want to test password strength against a dictionary. See
+ # lib/PWLookup.pm for instructions on how to create the database file.
+ #password_db => 'data/passwords.dat',
+}