From 1eae444c99e1282a734979891b9c8bd775589c9e Mon Sep 17 00:00:00 2001 From: Leonardo Rochael Almeida <leonardo@nexedi.com> Date: Thu, 25 Mar 2010 16:03:13 +0000 Subject: [PATCH] Make the instance instructions in the README.txt work as advertised git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34120 20353a03-c40f-0410-a6d1-a30d3c3de9de --- buildout/README.txt | 3 ++- buildout/profiles/development.cfg | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/buildout/README.txt b/buildout/README.txt index 9a55fd2c41..19c57e7874 100644 --- a/buildout/README.txt +++ b/buildout/README.txt @@ -111,7 +111,8 @@ $ ~/erp5.buildout/bin/python2.4 bootstrap/bootstrap.py -c my_instances.cfg $ bin/buildout -c my_instances.cfg $ var/bin/supervisord # it will start supervisor and configured software $ $EDITOR my_instances.cfg -# add zope-instance and runUnitTest to parts +# add "runUnitTest" to parts, the "development-instance" part will be pulled +# automatically as a dependency $ bin/buildout -c my_instances.cfg Fully configured development instance will be available in var/zope-instance. diff --git a/buildout/profiles/development.cfg b/buildout/profiles/development.cfg index c4869949ec..a6b4ba6ef4 100644 --- a/buildout/profiles/development.cfg +++ b/buildout/profiles/development.cfg @@ -9,13 +9,13 @@ software_home = ${buildout:directory} [runUnitTest] recipe = erp5.recipe.testrunner -zope2-location = ${zope-instance:zope2-location} +zope2-location = ${development-site:zope2-location} products = ${software_definition:products-zope} - ${zope-instance:products} -bt5_path = ${zope-instance:bt5-path} + ${development-site:products} +bt5_path = ${development-site:bt5-path} -instance-home = ${zope-instance:instancehome} +instance-home = ${development-site:instancehome} initialization = import os os.environ['PATH'] = ':'.join(['${buildout:data-bin-directory}','${buildout:bin-directory}'] + os.environ.get('PATH','').split(':')) -- GitLab