delegate setting the connection string to the recipe

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37698 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 948cc480
...@@ -27,11 +27,11 @@ mysql_user = root ...@@ -27,11 +27,11 @@ mysql_user = root
mysql_password = mysql_password =
mysql_host = ${configuration:mysql_host} mysql_host = ${configuration:mysql_host}
mysql_port = ${configuration:mysql_port} mysql_port = ${configuration:mysql_port}
erp5_sql_connection_string = ${:mysql_database_name}@${configuration:mysql_host}:${configuration:mysql_port} ${:mysql_user}
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(':'))
sys.argv.insert(1, '--erp5_sql_connection_string=${:mysql_database_name}@${configuration:mysql_host}:${configuration:mysql_port} ${:mysql_user}')
sys.argv.insert(1, '--conversion_server_port=${configuration:oood_port}') sys.argv.insert(1, '--conversion_server_port=${configuration:oood_port}')
sys.argv.insert(1, '--use_dummy_mail_host') sys.argv.insert(1, '--use_dummy_mail_host')
os.environ['REAL_INSTANCE_HOME'] = '${:location}' os.environ['REAL_INSTANCE_HOME'] = '${:location}'
......
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