GitBlit: Unterschied zwischen den Versionen

Aus Info-Theke
Zur Navigation springen Zur Suche springen
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 6: Zeile 6:
WEB-INF/web.xml:
WEB-INF/web.xml:
<pre> <context-param>
<pre> <context-param>
  <param-name>git.repositoriesFolder</param-name>
  <param-value>/home/gitblit</param-value>
</context-param>
...
<context-param>
   <param-name>realm.userService</param-name>
   <param-name>realm.userService</param-name>
   <param-value>/home/gitblit/users.conf</param-value>
   <param-value>/home/gitblit/users.conf</param-value>
Zeile 13: Zeile 18:
* Link auf web.xml funktioniert nicht!
* Link auf web.xml funktioniert nicht!
* statt users.conf ist auch users.properties möglich
* statt users.conf ist auch users.properties möglich
== URLS ==
<pre>
git clone http://io:8080/gitblit/git/reportal.git
git remote add gitblit http://io:8080/gitblit/git/reportal.git
git push gitblit master
</pre>

Aktuelle Version vom 8. März 2012, 01:31 Uhr


Installation[Bearbeiten]

  • Kopieren von *.war nach /opt/tomcat/webapps hat nicht geklappt. Manager-GUI von tomcat benutzen.

WEB-INF/web.xml:

 <context-param>
  <param-name>git.repositoriesFolder</param-name>
  <param-value>/home/gitblit</param-value>
</context-param>
...
<context-param>
  <param-name>realm.userService</param-name>
  <param-value>/home/gitblit/users.conf</param-value>
</context-param>

Hinweise:

  • Link auf web.xml funktioniert nicht!
  • statt users.conf ist auch users.properties möglich

URLS[Bearbeiten]

git clone http://io:8080/gitblit/git/reportal.git

git remote add gitblit http://io:8080/gitblit/git/reportal.git
git push gitblit master