ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Installation on FreeBSD

This were the steps I used to get ChiliProject up and running on FreeBSD:

I started on a quite pristine FreeBSD 8.2-RELEASE amd64 (actually in a jail) with /usr/ports populated and only a few packages installed (basically I installed bash and its dependencies):

bash-4.1.10         The GNU Project's Bourne Again SHell
bison-2.4.3,1       A parser generator from FSF, (mostly) compatible with Yacc
gettext-    GNU gettext package
libiconv-1.13.1_1   A character set conversion library
libtool-2.4         Generic shared library support script
m4-1.4.16,1         GNU m4
portmaster-3.9.1    Manage your ports without external databases or languages

I decided to install ruby, ruby-gems and ruby-iconv from the Ports-Colletion and the ruby packages from bundle in ChiliProject.

I'm going to install ChiliProject with Sqlite3, other DB's should work similarly.

The following steps were done as root (prompt = #)

First we need to install a few packages, configuration is the default one unless otherwise noted

Sqlite3 (substitute your database here):

# cd /usr/ports/databases/sqlite3
# make
# make install

Then we install Ruby 1.8 (>= 1.8.7):

# cd /usr/ports/lang/ruby18/
# make
# make install

Now Ruby Gems:

# cd /usr/ports/devel/ruby-gems
# make
# make install

And Ruby Iconv (the parts of ruby that need extra dependencies are factored out into their own ports on FreeBSD):

# cd /usr/ports/converters/ruby-iconv/
# make
# make install

Thats the packages we install from the Ports-Collection.

Next we install Bundler using Gem:

# gem install bundler

In the meantime I got the ChiliProject source tree (see Installation how to get it).
For some reason the installed gem doesn't find sqlite3.h in /usr/local/include so we set the environment variable CONFIGURE_ARGS="with-sqlite3-include=/usr/local/include" when installing with bundle. Please adapt your --without option to your needs.

# cd chiliproject
# CONFIGURE_ARGS="with-sqlite3-include=/usr/local/include" bundle install --without="test mysql mysql2 postgres openid rmagick" 

Fetching source index for
Installing rake ( 
Installing activesupport (2.3.14) 
Installing rack (1.1.2) 
Installing actionpack (2.3.14) 
Installing actionmailer (2.3.14) 
Installing activerecord (2.3.14) 
Installing activeresource (2.3.14) 
Installing coderay (0.9.8) 
Installing fastercsv (1.5.4) 
Installing i18n (0.4.2) 
Installing json (1.6.3) with native extensions 
Installing net-ldap (0.2.2) 
Installing rails (2.3.14) 
Installing rdoc (3.11) 
Installing rubytree (0.5.3) 
Installing sqlite3-ruby (1.2.5) with native extensions 
Using bundler (1.0.21) 
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.

From here on we follow from point "3. Create an empty database" on Installation