aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://mildred.fr/ <http://mildred.fr/@web>2012-12-18 11:42:25 -0400
committeradmin <admin@branchable.com>2012-12-18 11:42:25 -0400
commit4638aff119e1b5a959cc02fdc8dbe6f8728c7f48 (patch)
tree81ccbc18821768eca81c027d09483e10c161ed7f
parentb84fa3a254649ac0f1581488ae50aada9f0a93f4 (diff)
downloadikiwiki-4638aff119e1b5a959cc02fdc8dbe6f8728c7f48.tar
ikiwiki-4638aff119e1b5a959cc02fdc8dbe6f8728c7f48.tar.gz
-rw-r--r--doc/forum/How_to_set_up_git_repository_hook___63__.mdwn19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/forum/How_to_set_up_git_repository_hook___63__.mdwn b/doc/forum/How_to_set_up_git_repository_hook___63__.mdwn
new file mode 100644
index 000000000..34bc4ace2
--- /dev/null
+++ b/doc/forum/How_to_set_up_git_repository_hook___63__.mdwn
@@ -0,0 +1,19 @@
+Hi,
+
+I want to set up hooks for Git, and I don't know how to. Is there any documentation somewhere? Basically, I'd like to do what [[/ikiwiki-makerepo]] does, but manually.
+
+Why? Because I want to have a special layout to my repository. Especially, I want to include at the root level some special files:
+
+- the nginx configuration
+- the script that installs the nginx configuration to the system
+- the script that starts the fast-cgi wrapper
+- the `ikiwiki.setup` file
+- ...
+
+And I want the ikiwiki sources to be in a subdirectory `src/` and the generated files in `out/` (where the nginx configuration points).
+
+So, what is the special `post-update` hook generated by [[/ikiwiki-makerepo]]? I noticed it was an ELF file, why not a script? What does it do?
+
+Thanks,
+
+Mildred