Commit d282d5bb authored by Łukasz Nowak's avatar Łukasz Nowak

- convert instance-profiles/zope.cfg to template of zope instance

 - reuse such template in development case


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33270 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8a8bad73
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
[buildout] [buildout]
parts = zope-instance parts = zope-instance
[zope-instance] [zope-instance-template]
recipe = erp5.recipe.standaloneinstance recipe = erp5.recipe.standaloneinstance
zope2-location = ${software_definition:zope_software} zope2-location = ${software_definition:zope_software}
user = zope:zope user = zope:zope
......
...@@ -2,8 +2,7 @@ ...@@ -2,8 +2,7 @@
extends = ../profiles/deployment.cfg extends = ../profiles/deployment.cfg
parts += parts +=
zope-instance development-site
runUnitTest
[software_definition] [software_definition]
software_home = ${buildout:directory} software_home = ${buildout:directory}
...@@ -21,10 +20,15 @@ initialization = ...@@ -21,10 +20,15 @@ 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(':'))
[zope-instance] [development-site]
<= zope-instance-template
# developer by default want to have updatable Data.fs # developer by default want to have updatable Data.fs
force-zodb-update = true force-zodb-update = true
bt5-path = bt5-path =
bt5 =
eggs =
Products.ExternalEditor
# MySQL # MySQL
mysql_database_name = development_site mysql_database_name = development_site
mysql_user = development_user mysql_user = development_user
...@@ -40,7 +44,7 @@ mysql_superpassword = ...@@ -40,7 +44,7 @@ mysql_superpassword =
# zope.conf template part BEGIN # zope.conf template part BEGIN
debug-mode = on debug-mode = on
instancehome = ${buildout:var-directory}/zope-instance instancehome = ${buildout:var-directory}/development-site
http-address = 18080 http-address = 18080
# until we will have more control over products we need to redefine to insert # until we will have more control over products we need to redefine to insert
# local products to be able to override # local products to be able to override
...@@ -53,11 +57,6 @@ products = ...@@ -53,11 +57,6 @@ products =
${software_definition:products-cmf15} ${software_definition:products-cmf15}
# zope.conf template part ENDS # zope.conf template part ENDS
eggs =
Products.ExternalEditor
bt5 =
[requirements] [requirements]
binary += binary +=
svn svn
......
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