Differences

This shows you the differences between two versions of the page.


gitorious [2015/06/01 22:26] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Gitorious ======
  
 +  * [[git]]
 +
 +Display project repositories from database gitorious:
 +
 +<code>
 +SELECT slug, name FROM repositories r INNER JOIN projects p ON r.project_id = p.id WHERE r.name NOT LIKE '%wiki' ORDER BY p.slug, r.name;
 +</code>
 +
 +===== Runtime Init Dependencies =====
 +
 +  * mysql
 +  * stompserver
 +
 +===== Installation =====
 +
 +  * <code>git clone git://gitorious.org/gitorious/mainline.git gitorious</code>
 +  * cp config/database.sample.yml to config/database.yml and edit
 +  * cp config/gitorious.sample.yml to config/gitorious.yml and edit
 +  * bundle exec rake db:create:all (creates MySQL databases)
 +  * bundle exec rake db:setup
 +  * script/poller start
 +  * script/gitorious -d -e production
 +
 +
 +===== Git Access =====
 +
 +All git access is run through user 'git', and is accessible by using SSH public keys.  The keys can be added through the gitorious web interface.
 +
 +===== Apache =====
 +
 +It is possible to run gitorious through Apache, but git ssh access would not work.  Instead, we are running it as a separate daemon.
 +
 +===== Search =====
 +
 +Search is made available by running ultrasphinx.  There's a custom init script named ''gitorious-search'' which is the original ''searchd'' script shipped with the ebuild, modified to run as user ''git''.
 +
 +The configuration file in ''/etc/sphinx/sphinx.conf'' is copied from ''/var/www/gitorious/config/ultrasphinx/production.conf''
 +
 +===== Support ======
 +
 +  * http://groups.google.com/group/gitorious

Navigation
QR Code
QR Code gitorious (generated for current page)