a little runtime cleanup and bookkeeping
tla [Wed, 20 Nov 2013 21:25:27 +0000 (22:25 +0100)]
Makefile.PL
README.md
stemmaweb.conf

index d883b3e..a87978f 100644 (file)
@@ -27,6 +27,7 @@ requires 'Catalyst::View::Download::Plain';
 requires 'Catalyst::View::JSON';
 requires 'Catalyst::View::TT';
 requires 'Catalyst::View::Email::Template';
+requires 'Plack::Middleware::ReverseProxyPath';
 ## Auth:
 requires 'Catalyst::Plugin::Authentication';
 requires 'Catalyst::Plugin::Session';
index 6fd6b81..69f78e8 100644 (file)
--- a/README.md
+++ b/README.md
@@ -32,10 +32,10 @@ set up to run the standalone service:
 
                script/maketestdb.pl
                script/stemmaweb_server.pl
-* Replace the database settings in stemmaweb.conf with the settings for your database. If you are using MySQL, for example, the settings might look like this:
+* Replace the database settings in stemmaweb.conf with the settings for your database. If you are using MySQL, for example, the contents of the <Model Directory> stanza might look like this:
 
                <model_args>
-               dsn dbi:mysql:dbname=stemmaweb
+               dsn dbi:mysql:dbname=stemmaweb;host=DB_HOSTNAME
                <extra_args>
                        user STEMMAWEB_USER
                        password STEMMAWEB_PASS
index a0169dc..14dc998 100644 (file)
@@ -4,6 +4,3 @@ name = stemmaweb
 <Model Directory>
     dsn dbi:SQLite:dbname=db/traditions.db
 </Model>
-<Model User>
-    dsn dbi:SQLite:dbname=db/traditions.db
-</Model>