wiki:InfraStructure

Version 15 (modified by hans, 14 years ago) (diff)

added missing tar -xvzf

Infrastructure

Development server

Our current development server is goedel.uiah.fi. All ticket reporting and tracking is done in the Trac environment at http://goedel.uiah.fi/projects/calibrate/. Contact Tarmo (tarmo.toikkanen at uiah.fi) in any technical issues concerning these services.

Installing your own test environment

To install the test environment on your machine:

  1. Download Plone 2.1.1.
  2. If the install package doesn't contain Zope, download and install Zope 2.8.2.
  3. Install Plone 2.1.1.
  4. You need Python 2.3.5. It should come with Zope. If not, get it.
  5. Make a checkout of the Toolbox 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)

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

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

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 to get a checkout if you have an ssh account:

svn checkout svn+ssh://USERNAME@goedel.uiah.fi/var/lib/svn-cal/trunk Toolbox

And use this if you just want to use your Trac account:

svn checkout https://goedel.uiah.fi/svn-cal/trunk Toolbox

Communications

Mailing lists

Calibrate has its own mailing lists for general topics, but WP3 developers (and those interested in the development) have their own list toolbox-dev hosted in uiah.fi. This list has several purposes:

  • discussions on technical issues (but conclusions from these discussions should be posted into the wiki)
  • notifications and other time-critical activities
  • all version control commit mails and Trac ticket change mails are sent to this list
  • Subscribe to the list or view archives

Instant messaging

  • IRC is used for instant messaging
  • Skype conference calls are held every Monday at 15:00 EEST (14:00 CEST).

Development tools

Poll(What OS do you use?;Linux;MacOS;Windows;Unix;Other)?

The Python sidebar is a nice sidebar tool for Mozilla/Firefox? to access python documentation.

Good Python editors:

  • Emacs with the python major mode (mainly for Linux users)
  • others? please contribute.