wiki:HowToInstallPlumiUsingTheBuildout

Version 31 (modified by and, 4 years ago) (diff)

--

Instructions for Installing Plumi using the buildout

This page is deprecated - latest version at  http://en.flossmanuals.net/Plumi/Installation

TracNav(InstallTOC)?

0.2.3-final

-1. Prerequisites: build-essential python2.4-dev python2.4-imaging python2.4-elementtree python2.4-setuptools, python-profiler # necessary for Five, you might will have to enable non-free repos

We use a debian-based system:

$ aptitude install build-essential python2.4-dev python2.4-imaging python2.4-elementtree python2.4-setuptools
$ aptitude install python-profiler  # neccessary for Five, you might will have to enable non-free repos
$ easy_install-2.4 simplejson
  1. Make a new folder to hold the buildout, and change into that
$ mkdir plumi-0.2.3-final
$ cd plumi-0.2.3-final/
  1. Check out the buildout from SVN.
$ svn co https://svn.engagemedia.org/project/plumi-buildout-plone2.5/tags/plumi-0.2.3-final/ .
  1. Start the buildout process, which will download all the required Zope and Plone python software libraries.
$ python2.4 bootstrap.py

$ ./bin/buildout #this will need to be done as root/with sudo

If the buildout fails - check the buildout instructions themselves -  https://svn.engagemedia.org/project/plumi-buildout-plone2.5/tags/plumi-0.2.3-final/README.txt

  1. Start up the instance, initially in the 'foreground'
$ ./bin/instance fg

  1. Now you can surf to your new Zope based site at  http://your.machine:8080/ . The Zope Management Interface is at  http://your.machine:8080/manage/
  1. After you add a Plone Site via the ZMI, follow the rest of the instructions from Step 4 onwards -  http://dev.plone.org/collective/browser/Plumi/tags/plumi-0.2.3-final/INSTALL.txt - to setup the Plumi/Plone? site via the ZMI.

Basically then use the quick installer to add all the Plumi products.

and REMEMBER TO CHANGE THE ADMIN PASSWORD FROM THE DEFAULT.

Installing the transcoding application - Indytube

More about Indytube - http://plumi.org/wiki/IndyTube

Indytube can be retrieved from the subversion repository via:

svn co https://svn.engagemedia.org/project/indytube/tags/plumi-0.2.3-rc3 indytube

It can also be extracted from the plumi tarball found at plumi-0.2.3-final/downloads/plumi-0.2.3-final.tgz - you only need to extract the 'indytube' directory.

You can place the indytube directory in /opt (or anywhere else you see fit)

Then configure using the README, INSTALL, and INSTALL.plone docs found in the directory, also available at:


Plumi 3

Instructions for Installing Plumi 3 for Plone 3.3.2 and blob storage using the buildout

This is ALPHA version software. Meaning -- it is NOT ready for production use, and is NOT ready for migration from plumi 0.2-final sites.

Some links for background reading on buildout/setuptools/disutils/virtualenv :  http://us.pycon.org/2009/tutorials/schedule/1PM3/ The buildout tutorial on plone :  http://plone.org/documentation/tutorial/buildout

If you want to install the buildout inside a chroot , see here : http://plumi.org/browser/plumi-buildout-plone3/trunk/DevelopingInAChroot.txt

It may be worth while creating a python virtual environment for developing in - this can avoid problems between python packages installed by your operating system and those install by easy_install. You will need to have the virtualenv package installed first - in debian and ubuntu systems you can apt-get install python-virtualenv, then:

virtualenv -p /usr/bin/python2.4 --no-site-packages src/pyvirt
. src/pyvirt/bin/activate
easy_install http://dist.repoze.org/PIL-1.1.6.tar.gz

This will install the virtual env into src/pyvirt, then activate it, then install the (required) Python Imaging Library into the virtual env.

You need to have python2.4 install, and the Python Imaging Library (PIL)

  1. Check out the buildout from SVN
cd src/pyvirt
svn co https://svn.plone.org/svn/collective/plumi.buildout/trunk plumi3
  1. Bootstrap the buildout
cd plumi3
python2.4 bootstrap.py 

If the bootstrap fails, try installing a newer version of setuptools; at the time of writing, the newest is 0.6c11, although the system tries to use 0.6c9, which fails:

easy_install setuptools==0.6c11
  1. Start the buildout process, which will download all the required Zope and Plone python software libraries.
./bin/buildout
  1. Start up the instance, initially in the 'foreground'
./bin/instance fg
  1. Now you can surf to your new Zope based site at  http://your.machine:8080/ . The Zope Management Interface is at  http://your.machine:8080/manage/
  1. After you add a Plone Site via the ZMI, follow the rest of the instructions from Step 4 onwards -  http://dev.plone.org/collective/browser/Plumi/tags/plumi-0.2.3-final/INSTALL.txt - to setup the Plumi/Plone? site via the ZMI.

Basically then use the quick installer to add all the Plumi products.

and REMEMBER TO CHANGE THE ADMIN PASSWORD FROM THE DEFAULT.