diff options
author | Yorhel <git@yorhel.nl> | 2019-07-25 14:30:04 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-07-25 14:36:21 +0200 |
commit | f296495a912ce759df11c43e78b4552788bdbff2 (patch) | |
tree | 0c10802de65fb7c8475722e12234bff5eb980628 /data | |
parent | 0f3cfeb85caec6424bcbea47142eefbf8011636b (diff) |
Merge the v3 branch into separate namespace + fix Docker stuff (again)
I was getting tired of having to keep two branches up-to-date with the
latest developments, so decided to throw v3 into the same branch - just
different files (...which will get mostly rewritten again soon). The two
versions aren't very different in terms of dependencies, build system
and support code, so they can now properly share files. Added a section
to the README to avoid confusion.
This merge also makes it easier to quickly switch between the different
versions, which is handy for development. It's even possible to run both
at the same time, but my scripts use the same port so that needs a
workaround.
And it's amazing how often I break the Docker scripts.
Diffstat (limited to 'data')
-rw-r--r-- | data/config3_example.pl | 26 |
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', +} |