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
parent 43e7bffe
...@@ -111,7 +111,8 @@ $ ~/erp5.buildout/bin/python2.4 bootstrap/bootstrap.py -c my_instances.cfg ...@@ -111,7 +111,8 @@ $ ~/erp5.buildout/bin/python2.4 bootstrap/bootstrap.py -c my_instances.cfg
$ bin/buildout -c my_instances.cfg $ bin/buildout -c my_instances.cfg
$ var/bin/supervisord # it will start supervisor and configured software $ var/bin/supervisord # it will start supervisor and configured software
$ $EDITOR my_instances.cfg $ $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 $ bin/buildout -c my_instances.cfg
Fully configured development instance will be available in var/zope-instance. Fully configured development instance will be available in var/zope-instance.
......
...@@ -9,13 +9,13 @@ software_home = ${buildout:directory} ...@@ -9,13 +9,13 @@ software_home = ${buildout:directory}
[runUnitTest] [runUnitTest]
recipe = erp5.recipe.testrunner recipe = erp5.recipe.testrunner
zope2-location = ${zope-instance:zope2-location} zope2-location = ${development-site:zope2-location}
products = products =
${software_definition:products-zope} ${software_definition:products-zope}
${zope-instance:products} ${development-site:products}
bt5_path = ${zope-instance:bt5-path} bt5_path = ${development-site:bt5-path}
instance-home = ${zope-instance:instancehome} instance-home = ${development-site:instancehome}
initialization = initialization =
import os import os
os.environ['PATH'] = ':'.join(['${buildout:data-bin-directory}','${buildout:bin-directory}'] + os.environ.get('PATH','').split(':')) os.environ['PATH'] = ':'.join(['${buildout:data-bin-directory}','${buildout:bin-directory}'] + os.environ.get('PATH','').split(':'))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment