<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.thorengine.net/index.php?action=history&amp;feed=atom&amp;title=Gitorious</id>
	<title>Gitorious - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.thorengine.net/index.php?action=history&amp;feed=atom&amp;title=Gitorious"/>
	<link rel="alternate" type="text/html" href="https://wiki.thorengine.net/index.php?title=Gitorious&amp;action=history"/>
	<updated>2026-10-30T23:42:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.thorengine.net/index.php?title=Gitorious&amp;diff=21&amp;oldid=prev</id>
		<title>Proofek: New page: = Gitorious =  == Installation ==  1. First install ruby on rails  2. Clone gitorious   #&gt; git clone git://gitorious.org/gitorious/mainline.git gitorious  3. Install [http://sphinxsearch.c...</title>
		<link rel="alternate" type="text/html" href="https://wiki.thorengine.net/index.php?title=Gitorious&amp;diff=21&amp;oldid=prev"/>
		<updated>2009-06-02T23:00:44Z</updated>

		<summary type="html">&lt;p&gt;New page: = Gitorious =  == Installation ==  1. First install ruby on rails  2. Clone gitorious   #&amp;gt; git clone git://gitorious.org/gitorious/mainline.git gitorious  3. Install [http://sphinxsearch.c...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Gitorious =&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
1. First install ruby on rails&lt;br /&gt;
&lt;br /&gt;
2. Clone gitorious&lt;br /&gt;
&lt;br /&gt;
 #&amp;gt; git clone git://gitorious.org/gitorious/mainline.git gitorious&lt;br /&gt;
&lt;br /&gt;
3. Install [http://sphinxsearch.com/ Sphinx]&lt;br /&gt;
&lt;br /&gt;
 #&amp;gt; wget http://sphinxsearch.com/downloads/sphinx-0.9.8.1.tar.gz&lt;br /&gt;
 #&amp;gt; tar -xzvf sphinx-0.9.8.1.tar.gz&lt;br /&gt;
 #&amp;gt; cd sphinx-0.9.8.1/&lt;br /&gt;
 #&amp;gt; ./configure&lt;br /&gt;
 #&amp;gt; make&lt;br /&gt;
 #&amp;gt; sudo make install&lt;br /&gt;
&lt;br /&gt;
4. Install some gems&lt;br /&gt;
&lt;br /&gt;
 #&amp;gt; sudo apt-get install libmagickcore-dev&lt;br /&gt;
 #&amp;gt; gem install rmagick&lt;br /&gt;
 #&amp;gt; gem install chronic&lt;br /&gt;
&lt;br /&gt;
5. Configure database access&lt;br /&gt;
&lt;br /&gt;
'''config/database.yml'''&lt;br /&gt;
&lt;br /&gt;
 #&amp;gt; cd /home/proofek/git/gitorious/&lt;br /&gt;
 #&amp;gt; cp config/database.sample.yml config/database.yml&lt;br /&gt;
&lt;br /&gt;
For mysql access you will need mysql driver&lt;br /&gt;
&lt;br /&gt;
 #&amp;gt; gem install mysql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Configure gitorious&lt;br /&gt;
&lt;br /&gt;
'''config/gitorious.yml'''&lt;br /&gt;
&lt;br /&gt;
 #&amp;gt; cd /home/proofek/git/gitorious/&lt;br /&gt;
 #&amp;gt; cp config/gitorious.sample.yml config/gitorious.yml&lt;br /&gt;
&lt;br /&gt;
Modify top part of the ''test'' section as follows:&lt;br /&gt;
&lt;br /&gt;
  # The session secret key (`apg -m 64` is always useful for this kinda stuff)&lt;br /&gt;
  '''cookie_secret: PranhailRoikErcAftAjfurheendOuWayzonpidBinbimejVotAsHufKuitdixnu'''&lt;br /&gt;
&lt;br /&gt;
  # The path where git repositories are stored. The actual (bare) repositories resides&lt;br /&gt;
  # in repository_base_path/#{project.slug}/#{repository.name}.git/:&lt;br /&gt;
  '''repository_base_path: &amp;quot;/home/proofek/git/&amp;quot;'''&lt;br /&gt;
&lt;br /&gt;
and copy it over as well to ''development'' section&lt;br /&gt;
 &lt;br /&gt;
7. Configure message queue&lt;br /&gt;
&lt;br /&gt;
 #&amp;gt; cd /home/proofek/git/gitorious/&lt;br /&gt;
 #&amp;gt; cp config/broker.yml.example config/broker.yml&lt;br /&gt;
&lt;br /&gt;
8. Install gitorious specific gems&lt;br /&gt;
&lt;br /&gt;
 #&amp;gt; cd /home/proofek/git/gitorious/&lt;br /&gt;
 #&amp;gt; gem install rack&lt;br /&gt;
 #&amp;gt; rake gems:install&lt;br /&gt;
&lt;br /&gt;
9. Create gitorious database&lt;br /&gt;
&lt;br /&gt;
 #&amp;gt; rake db:create:all&lt;br /&gt;
 #&amp;gt; gem install ruby-hmac&lt;br /&gt;
 #&amp;gt; rake db:migrate&lt;br /&gt;
&lt;br /&gt;
10. Test the installation&lt;br /&gt;
&lt;br /&gt;
 #&amp;gt; rake gems:install RAILS_ENV=test&lt;br /&gt;
 #&amp;gt; rake test&lt;br /&gt;
&lt;br /&gt;
11. Set up [http://activemq.apache.org/ Apache ActiveMQ]&lt;br /&gt;
&lt;br /&gt;
 #&amp;gt; wget http://www.smudge-it.co.uk/pub/apache/activemq/apache-activemq/5.2.0/apache-activemq-5.2.0-bin.tar.gz&lt;br /&gt;
 #&amp;gt; tar -xzvf apache-activemq-5.2.0-bin.tar.gz&lt;br /&gt;
 #&amp;gt; cd apache-activemq-5.2.0/bin/&lt;br /&gt;
 #&amp;gt; ./activemq&lt;br /&gt;
 #&amp;gt; script/poller start&lt;br /&gt;
&lt;br /&gt;
12. Setup Sphinx&lt;br /&gt;
&lt;br /&gt;
Run the following commands:&lt;br /&gt;
&lt;br /&gt;
  for RAILS_ENV in development test production ; do&lt;br /&gt;
    RAILS_ENV=$RAILS_ENV rake ultrasphinx:configure&lt;br /&gt;
    RAILS_ENV=$RAILS_ENV rake ultrasphinx:index&lt;br /&gt;
  done&lt;br /&gt;
  RAILS_ENV=production rake ultrasphinx:daemon:start &amp;amp;&lt;/div&gt;</summary>
		<author><name>Proofek</name></author>
	</entry>
</feed>