X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a53d5ecd720cebfe1d81c077996cd2107ed80359..0662b235357dd40b5d27efd06b60044ddcec06f6:/doc/install/install-arv-git-httpd.html.textile.liquid?ds=sidebyside diff --git a/doc/install/install-arv-git-httpd.html.textile.liquid b/doc/install/install-arv-git-httpd.html.textile.liquid index 8445c216ec..7eec2d645a 100644 --- a/doc/install/install-arv-git-httpd.html.textile.liquid +++ b/doc/install/install-arv-git-httpd.html.textile.liquid @@ -72,6 +72,8 @@ On Red Hat-based systems: +{% include 'install_git' %} + h2. Create a "git" user and a storage directory Gitolite and some additional scripts will be installed in @/var/lib/arvados/git@, which means hosted repository data will be stored in @/var/lib/arvados/git/repositories@. If you choose to install gitolite in a different location, make sure to update the @git_repositories_dir@ entry in your API server's @application.yml@ file accordingly: for example, if you install gitolite at @/data/gitolite@ then your @git_repositories_dir@ will be @/data/gitolite/repositories@. @@ -293,8 +295,9 @@ EOF #!/bin/sh export ARVADOS_API_HOST=uuid_prefix.your.domain export GITOLITE_HTTP_HOME=/var/lib/arvados/git +export GL_BYPASS_ACCESS_CHECKS=1 export PATH="$PATH:/var/lib/arvados/git/bin" -exec chpst -u git:git arvados-git-httpd -address=:9001 -git-command="$(which git)" -repo-root=/var/lib/arvados/git/repositories 2>&1 +exec chpst -u git:git arvados-git-httpd -address=:9001 -git-command=/var/lib/arvados/git/gitolite/src/gitolite-shell -repo-root=/var/lib/arvados/git/repositories 2>&1 EOF /etc/sv/arvados-git-httpd$ sudo chmod +x run log/run @@ -306,8 +309,9 @@ If you are using a different daemon supervisor, or if you want to test the daemo
sudo -u git \
   ARVADOS_API_HOST=uuid_prefix.your.domain \
   GITOLITE_HTTP_HOME=/var/lib/arvados/git \
+  GL_BYPASS_ACCESS_CHECKS=1 \
   PATH="$PATH:/var/lib/arvados/git/bin" \
-  arvados-git-httpd -address=:9001 -git-command="$(which git)" -repo-root=/var/lib/arvados/git/repositories 2>&1
+  arvados-git-httpd -address=:9001 -git-command=/var/lib/arvados/git/gitolite/src/gitolite-shell -repo-root=/var/lib/arvados/git/repositories 2>&1
 
@@ -334,6 +338,9 @@ server { ssl_certificate /YOUR/PATH/TO/cert.pem; ssl_certificate_key /YOUR/PATH/TO/cert.key; + # The server needs to accept potentially large refpacks from push clients. + client_max_body_size 50m; + location / { proxy_pass http://arvados-git-httpd; }