[ARVADOS] created: 78e3248417510aecbac9e66a22d48e32a80181bf

git at public.curoverse.com git at public.curoverse.com
Mon Jul 20 10:32:29 EDT 2015


        at  78e3248417510aecbac9e66a22d48e32a80181bf (commit)


commit 78e3248417510aecbac9e66a22d48e32a80181bf
Author: radhika <radhika at curoverse.com>
Date:   Mon Jul 20 10:32:04 2015 -0400

    6619: add git config to shell setup page.

diff --git a/doc/install/install-shell-server.html.textile.liquid b/doc/install/install-shell-server.html.textile.liquid
index 1e72e5e..c760e7d 100644
--- a/doc/install/install-shell-server.html.textile.liquid
+++ b/doc/install/install-shell-server.html.textile.liquid
@@ -43,3 +43,16 @@ On Red Hat-based systems:
 </notextile>
 
 {% include 'note_python27_sc' %}
+
+h2. Update Git Config
+
+Configure git to use the ARVADOS_API_TOKEN environment variable to authenticate to gitolite.
+
+Execute the following commands to setup the needed configuration.
+
+<notextile>
+<pre>
+<code>~$ <span class="userinput">git config 'credential.https://git.{{ site.arvados_api_host }}/.username' none</span></code>
+<code>~$ <span class="userinput">git config 'credential.https://git.{{ site.arvados_api_host }}/.helper' '!cred(){ cat >/dev/null; if [ "$1" = get ]; then echo password=$ARVADOS_API_TOKEN; fi; };cred'</span></code>
+</pre>
+</notextile>

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list