From 3733a4194b59ec233671d8deb279eda52497ed07 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawnIsjgK_cdfZcIAumVRwTvNXS4cD0zNnaI" Date: Sun, 5 Aug 2012 16:33:35 +0000 Subject: [PATCH] --- doc/forum/public-web-frontend.mdwn | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 doc/forum/public-web-frontend.mdwn diff --git a/doc/forum/public-web-frontend.mdwn b/doc/forum/public-web-frontend.mdwn new file mode 100644 index 0000000000..76345313ae --- /dev/null +++ b/doc/forum/public-web-frontend.mdwn @@ -0,0 +1,16 @@ +Hi, + +Use case: I would like to have a "Public" top-level directory in my annex, which gets files in there published over HTTP on a particular server. + +How I see doing this: + +1. Put my annex to an http server with exported-over-http /Public/ directory. +2. Configure a post-update hook with the following: + + $ git annex fix + +3. Push files on /Public/ to that annex. + +Does it make sense? If yes, are there any gotchas I should beware of? + +Thanks.