forked from pjstevns/tryton.buildout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
48 lines (32 loc) · 1.05 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Example buildout for the Tryton ERP system.
copyright 2010, Paul J Stevens, paul@nfg.nl
license: GPL-3
For Debian based systems first install the pre-dependencies:
apt-get install python-dev make gcc libc6-dev mercurial \
zlib1g-dev wget libpq-dev libsasl2-dev libldap2-dev \
libreadline-dev python-virtualenv
Production:
===========
First, check and edit buildout.cfg. Add eggs for additional
modules you wish to deploy, i.e:
[tryton]
...
modules =
...
trytond_project_plan
Next, run 'make' inside this directory. This will install
all Tryton components, and also download, build and install
PostgreSQL inside the sandbox.
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
[tryton]
modules =
...
trytond_project_mykind
See devel.cfg for an example