wiki:InfraStructure
Last modified 9 years ago Last modified on 07/09/08 14:30:03

Infrastructure

Development server

Our current development server is goedel.uiah.fi, also known as lemill.org. All ticket reporting and tracking is done in the Trac environment at http://lemill.org/trac/. Contact Tarmo (tarmo.toikkanen at uiah.fi) in any technical issues concerning these services.

Communications

Mailing lists

LeMill developers have two lists at their disposal:

Instant messaging

  • IRC is used for instant messaging
  • FlashMeeting conference calls are held as needed
  • Skype is used as needed

Version control

Version control is done using subversion (svn). Take checkouts to your Zope installation's Products folder so you can see your changes in your own environment and can also run unit tests.

Use this stanza to take a checkout:

svn checkout https://lemill.org/svn-lemill/trunk LeMill

(the SSL authentication will be a self-signed certificate belong to leibniz.uiah.fi)

If you want to commit your changes, you'll need an account (the same as for this Trac system) - contact tarmo.toikkanen (at) uiah.fi.

Installing your own test environment

To install the test environment on your machine:

  1. Download Plone 2.5.
  2. If the install package doesn't contain Zope, download and install Zope 2.8.7.
  3. Install Plone 2.5.
  4. You need Python 2.3.x. It should come with Zope. If not, get it.
  5. Make a checkout of the LeMill into the Products folder
  6. Start testing!

Installing Zope 2.8.2 on Mac OS X 10.3.9 (also tested on 10.4.3)

Note that you currently need Plone 2.5+ and Zope 2.8.7+, so adapt these instructions as appropriate.

Create a directory for building installation binaries insideyour home directory:

mkdir Build
cd Build

Download, compile and install Python 2.3.5:

curl -O http://www.python.org/ftp/python/2.3.5/Python-2.3.5.tgz
tar -xvzf Python-2.3.5.tgz
cd Python-2.3.5
./configure
sudo make install

Python 2.3.5 is already present in OS X 10.4.3. Continue with installing PIL.

Download and extract Python Imaging Library (PIL) with JPEG and PNG support:

cd ~/Build
curl -O http://effbot.org/downloads/Imaging-1.1.5.tar.gz
tar -xvzf Imaging-1.1.5.tar.gz
curl -O http://www.ijg.org/files/jpegsrc.v6b.tar.gz
tar -xvzf jpegsrc.v6b.tar.gz
curl -O http://www.zlib.net/zlib-1.2.3.tar.gz
tar -xvzf zlib-1.2.3.tar.gz

Open PIL setup file (Imaging-1.1.5/setup.py) in text editor. Specify the location of JPEG and PNG libraries (lines 32 and 34). Replace username with your username:

FREETYPE_ROOT = None
JPEG_ROOT = "/Users/username/Build/jpeg-6b"
TIFF_ROOT = None
ZLIB_ROOT = "/Users/username/Build/zlib-1.2.3"
TCL_ROOT = None

Run setup.py:

cd Imaging-1.1.5
sudo /usr/local/bin/python setup.py install

(Jukka: I had a problem with Intel Mac and OS 10.4. If when running setup.py you get the following:

--------------------------------------------------------------------
--- TKINTER support ok
*** JPEG support not available
--- ZLIB (PNG/ZIP) support ok
--- FREETYPE2 support ok
--------------------------------------------------------------------

You'll need to build jpeg-6b manually:

cd /Users/username/Build/jpeg-6b
./configure
sudo make
sudo make install

Then try running Imaging setup.py again. )

Download, compile and install Zope 2.8.2:

cd ~/Build
curl -O http://www.zope.org/Products/Zope/2.8.2/Zope-2.8.2-final.tar.gz
tar -xvzf Zope-2.8.2-final.tar.gz
cd Zope-2.8.2-final
./configure --with-python=/usr/local/bin/python
make
sudo make install

Create Zope instance:

sudo /opt/Zope-2.8/bin/mkzopeinstance.py
	Directory: /usr/local/bin/zope
	Username: root
	Password:
	Verify password:

Change the owner for Zope instance. Replace username with your username:

cd /usr/local/bin/zope
sudo chown -R username .

Run Zope:

bin/runzope

Start a web browser on the same machine on which you installed Zope and visit the URL http://localhost:8080/

Download, extract and move Plone products:

cd ~/Build
curl -O http://ovh.dl.sourceforge.net/sourceforge/plone/Plone-2.1.1.tar.gz
tar -xvzf Plone-2.1.1.tar.gz
mv Plone-2.1.1/*/ /usr/local/bin/zope/Products/

Restart Zope