development.cfg 1.64 KB
Newer Older
1 2
# This Configuration file is used to create a standard instance for developers. 
# You should build a software home before use this recipe.
3

4
[buildout]
5 6
extends = ../profiles/test.cfg
          ../profiles/deployment.cfg
7

8
parts +=
9
  development-site
10 11 12 13 14 15 16 17 18 19 20 21
  runUnitTest

[configuration]
development_site_products =
  ${software_definition:products-zope} 
  ${software_definition:products-erp5}
  ${software_definition:products-erp5-development}
  ${software_definition:products-deps}
  ${software_definition:products-other}
  ${software_definition:products-cmf15}

development_site_instancehome = ${buildout:var-directory}/development-site
22

Łukasz Nowak's avatar
Łukasz Nowak committed
23
[runUnitTest]
24
<= test-runner-template
25
zope2-location = ${software_definition:zope_software}
26 27 28
products = ${configuration:development_site_products}

instance-home = ${configuration:development_site_instancehome}
Łukasz Nowak's avatar
Łukasz Nowak committed
29

30 31
[development-site]
<= zope-instance-template
32
# developer by default want to have updatable Data.fs
33
force-zodb-update = true
34 35 36
eggs =
  Products.ExternalEditor

37 38 39 40
# MySQL
mysql_database_name = development_site
mysql_user = development_user
mysql_password = development_password
41
mysql_host = 127.0.0.1
42 43 44 45 46 47 48 49
mysql_port = ${configuration:mysql_port}

# create database
mysql_create_database = true
# below could be set in configuration
mysql_superuser = root
mysql_superpassword =

50 51
# zope.conf template part BEGIN
debug-mode = on
52
instancehome = ${configuration:development_site_instancehome}
53
http-address = 18080
54 55 56
# until we will have more control over products we need to redefine to insert
# local products to be able to override
products =
57
  ${:instancehome}/Products/
58
  ${configuration:development_site_products}
59
# zope.conf template part ENDS