development.cfg 1.61 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
extends = ../profiles/deployment.cfg
6

7
parts +=
8
  development-site
9 10 11 12 13 14 15 16 17 18 19
  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}

20
development_site_instancehome = ${buildout:parts-directory}/development-site
21

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

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

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

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

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

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