Installing manually+CentOS-6
contributed by nico:
- have apache with passenger set up and also rvm going
- su -
- yum install freeimage
- gem install cucumber json webrat uuid timecop remail nokogiri image_science RubyInline passenger
- virtual host like:
<VirtualHost *:80>
ServerName wiki..........
# !!! Be sure to point DocumentRoot to 'public'!
DocumentRoot /var/www/html/wiki/public
<Directory /var/www/html/wiki/public>
# This relaxes Apache security settings.
AllowOverride all
# MultiViews must be turned off.
Options -MultiViews
</Directory>
</VirtualHost>
- due to some issues with ZenTest (?): gem update --system && gem update && gem install
- git clone http://http://github.com/wagn/wagn.git
- mv wagn wiki
- chown -R www-data:www-date wiki (OR whatever users are there)
- ZenTest makes trouble all the way, but left it behind
- yum install ImageMagick just for kicks (even though its not working with rmagick, therefore rmagick outcommented in Gemfile)
- exit to normal user
- cd wiki && bundle install --without mysql:memcache:test:debug:development:assets
- env ENGINE=postgres bundle exec rake wagn:install (disabled all testing gems, ran into some ZenTest again, but anyway...)
- nano config/database.yml and adjusted it
- some funny stuff went wrong with creating postgresql database due to dropping of tables by wagn,
but after I granted that user createdb access I worked finally
- service httpd restart
- connecting to it with the virtual host address it looks good so far, but than again, I am new to wagn