Commit 343ed4c3 authored by Łukasz Nowak's avatar Łukasz Nowak

- explain how to generate instances, which will use local software


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33089 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ea622394
...@@ -82,3 +82,36 @@ To prepare Mandriva 2010.0 please type, having root privileges: ...@@ -82,3 +82,36 @@ To prepare Mandriva 2010.0 please type, having root privileges:
helpers/mandriva2010.0.sh helpers/mandriva2010.0.sh
There are more helpers available, please refer to helpers directory. There are more helpers available, please refer to helpers directory.
Instances
=========
Note: Instance generation is still work in progress.
After software is generated it is time to have instances running.
The easiest way to generate instance is of course to reuse generated software.
If software is available in ~/erp5.buildout, such scenario work:
$ svn co https://svn.erp5.org/repos/public/erp5/trunk/buildout/ ~/instances
$ cd instances
$ cat > my_instances.cfg
[buildout]
extends = profiles/development.cfg
parts =
software-links
mysql-instance
oood-instance
supervisor-instance
[software_definition]
software_home = /home/MYUSER/erp5.buildout
^D
$ ~/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
$ bin/buildout -c my_instances.cfg
Fully configured development instance will be available in var/zope-instance.
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