Wednesday, July 6, 2011

installing Chilliproject offshoot of Redmine

I am hoping to link Chilliproject with gitosis to manage a git repository with web uploads of keys.

https://www.chiliproject.org/projects/chiliproject/wiki/Installation

needed to update to a specific version of rails

$ sudo gem update rails --version='2.3.12'


get a copy of ChiliProject

git clone git://github.com/chiliproject/chiliproject.git
cd chiliproject
git checkout stable


After getting the code, needed to install supporting gems using the following, after installing postgressql83 with macports, could have avoided some of this, by specifying I was not using postgressql.


$ sudo port install postgresql83
$ env ARCHFLAGS="-arch x86_64" bundle install


other notes:


$ sudo port install postgresql83

http://www.icoretech.org/2009/08/how-to-install-pg-postgresql-gem-on-snow-leopard-64-bit/
Install PostgreSQL from source/port for this, does not currently build against binary package.
PATH should be /usr/local/pgsql.

export PATH=/usr/local/pgsql/bin:${PATH}
env ARCHFLAGS="-arch x86_64" gem install pg
Or if you are using macports:

export PATH=/opt/local/lib/postgresql83/bin:${PATH}
env ARCHFLAGS="-arch x86_64" gem install pg


$ sudo gem install rmagick
Password:
Fetching: rmagick-2.13.1.gem (100%)
Building native extensions. This could take a while...
Successfully installed rmagick-2.13.1
1 gem installed
Installing ri documentation for rmagick-2.13.1...
Installing RDoc documentation for rmagick-2.13.1...
~ $ irb -rubygems -r RMagick
>> puts Magick::Long_version
This is RMagick 2.13.1 ($Date: 2009/12/20 02:33:33 $) Copyright (C) 2009 by Timothy P. Hunter
Built with ImageMagick 6.6.9-1 2011-05-07 Q16 http://www.imagemagick.org
Built for ruby 1.8.7
Web page: http://rmagick.rubyforge.org
Email: rmagick@rubyforge.org

$ rake db:migrate RAILS_ENV="production"

fix for generate session store problem.

$ rake generate_session_store


No comments:

Post a Comment