X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Fpatches%2F201_use-debian-paths.diff;fp=debian%2Fpatches%2F201_use-debian-paths.diff;h=b4ccb0f0f18576158cce5e695287dfd6d50ea2ff;hb=d2078abf95935788db273194cec72ab184adacce;hp=0000000000000000000000000000000000000000;hpb=8eb5e67b87194ee1866c0af3b56959f8e568687b;p=memories.git diff --git a/debian/patches/201_use-debian-paths.diff b/debian/patches/201_use-debian-paths.diff new file mode 100644 index 0000000..b4ccb0f --- /dev/null +++ b/debian/patches/201_use-debian-paths.diff @@ -0,0 +1,37 @@ +--- trunk.orig/Memories/Config.pm ++++ trunk/Memories/Config.pm +@@ -3,19 +3,19 @@ + + # This parameter should be the external address of your Memories + # installation +-Memories->config->uri_base("http://memories.simon-cozens.org/"); ++Memories->config->uri_base("http://localhost/memories/"); + + # This is where your templates will live. +-Memories->config->{template_root} = "/home/simon/maypole-sites/memories/templates"; ++Memories->config->{template_root} = "/etc/memories/templates/"; + + # Here is where uploaded photos will be stored. Your web server user + # should own this directory. +-Memories->config->{data_store} = "/web/photostore/"; ++Memories->config->{data_store} = "/var/www/memories/store/"; + + # You also need to configure your web server so that it serves files out + # of the data store; this URL should be where that data store directory + # is exposed on the web. +-Memories->config->{data_store_external} = "http://memories.simon-cozens.org/store/"; ++Memories->config->{data_store_external} = "http://localhost/memories/store/"; + + # Your database server: the first part should always be "dbi"; the + # second, the name of the DBD driver you're using (usually mysql unless +--- trunk.orig/README ++++ trunk/README +@@ -24,7 +24,7 @@ + You will also need a MySQL database. Again, in theory other databases + can be used, but in practice, you're on your own again. + +-Configure Maypole/Config.pm to your site, and follow the instructions in ++Configure /etc/memories/Config.pm to your site, and follow the instructions in + there - it will require you to set other things up as well. + + Test that everything works: