I have been trying to install nooku server with com_harbour components as an starting point of my journey in the Nooku world. But it's been not so straight forward as we been spoiled by the ZIP files of all types of Joomla! Extensions.
Here I wanted to discuss how I have managed to install those 2 things, this is not new but I have tried to accumulate all the references I found in the net and mails from Johan Janssens and Christian Hent.
FYI, I did it in my Ubuntu 10.04 LTS.
I made directory in my home/ricky/Downloads folder called nookuservernew and I did the following things to download the SVN code of nookuserver in my terminal (As root).
# cd /home/ricky/Downloads/nookuservernew/
# svn checkout https://subversion.assembla.com/svn/nooku-server/
Now I created one directory in my www folder called nookuserversite
then I exported the SVN to the new directory by
# svn export /home/ricky/Downloads/nookuservernew/nooku-server/trunk/code/ /var/www/nookuserversite
Now run the site with the web browser and install the nooku server site as you do with Joomla site.
Then I made one directory in the the home/ricky/Downloads folder called nookuexamples and I did the following command in the terminal (As root) to download the latest nooku examples from SVN.
# cd /home/ricky/Downloads/nookuexamples/
# svn checkout http://svn2.assembla.com/svn/nooku-examples/
Now we have to make the package for com_harbour component from the examples code, to do that easily in linux is Phing. Check if the phing is installed in your machine from the 'Synaptic package manager' if not try doing the following commands in the terminal (As root). Make a directory in the home/ricky/Downloads folder called phing
# cd /home/ricky/Downloads/phing/
# svn checkout http://svn.phing.info/trunk
# pear channel-discover pear.phing.info
# pear install phing/phing
After the phing is suceesfully installed in your machine do the following in your terminal (As root)
# cd /home/ricky/Downloads/nookuexamples/nooku-examples/trunk/harbour/scripts/build
You will be asked to give nooku incubator username and password, just give enter and your com_harbour package will be created in /home/ricky/Downloads/nookuexamples/nooku-examples/trunk/harbour/packages/ folder.
Try to install in from Joomla installer from the nookuserversite
Usually the package the more than 2 MB. If your site is not taking more than 2 MB of compressed files then change the setting [upload_max_filesize = 10M] of PHP.ini or install via Joomla directory.
As I said before it's not new but I tried to make it straight forward in one document but I got all the help from Nooku Google group mailing list members, specially Johan Janssens, Christian Hent, Nicholas K. Dionysopoulos, Fotis Evangelou and many others artices and discussions.