From fbed8ffd8afa26be5766cf66a607b8b6b5b1fd81 Mon Sep 17 00:00:00 2001 From: Paul J Stevens Date: Fri, 20 Aug 2010 09:33:54 +0000 Subject: [PATCH] update README --- README | 37 ++++++++++++++++++++++++++++--------- 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/README b/README index 156a036..7a3b8ce 100644 --- a/README +++ b/README @@ -10,17 +10,17 @@ apt-get install python-dev make gcc libc6-dev mercurial \ zlib1g-dev wget libpq-dev libsasl2-dev libldap2-dev \ libreadline-dev python-virtualenv -First, check and edit buildout.cfg. Add eggs for additional -modules you wish to deploy. For development of modules, you -need to reference them in the 'develop' option and add them -to the eggs, i.e.: +Production: +=========== -develop = - src/trytond_project_mykind +First, check and edit buildout.cfg. Add eggs for additional +modules you wish to deploy, i.e: -eggs = - ... - trytond_project_mykind +[tryton] +... +modules = + ... + trytond_project_plan Next, run 'make' inside this directory. This will install all Tryton components, and also download, build and install @@ -30,3 +30,22 @@ After 'make' has completed, you can do 'bin/supervisord' to start both Trytond and PostgreSQL inside the sandbox. +Development: +============ + +For development of modules, you need to reference them in the +'sources' option and add them to the modules, i.e.: + +[sources] +... +trytond.modules.project_mykind = hg http://hg.trytond.org/modules/project_mykind full-path=src/trytond.project.mykind + +[tryton] +... +modules = + ... + trytond_project_mykind + +Please excuse the convoluted setup that is caused by trytond.modules not being a namespace package. + +