README.txt 1.99 KB
Newer Older
1
=============
2 3 4
ERP5 buildout
=============

5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
Introductoin
============

ERP5 Buildout is providing a way to build and manage ERP5 software components
with all needed dependencies.

ERP5 Buildout is also providing a way to manage instances of software
(whenever provided by ERP5 Buildout or externally).


Software
========

Software part shall be system independent. In perfect world it shall depend
only on:

 * C compiler
 * standard C and C++ library
 * operating system kernel

As world is not perfect some additional build time requirements are added,
please look below for a way to acquire list of dependencies and system helpers.
27 28 29 30 31

How to run
----------

Checkout: https://svn.erp5.org/repos/public/erp5/trunk/buildout/
32 33 34 35 36 37 38 39
For example:

  svn co https://svn.erp5.org/repos/public/erp5/trunk/buildout/ ~/erp5.buildout

Run make inside:

  cd ~/erp5.buildout
  make
40 41 42 43 44 45 46

It will install required software and configure it locally, up to ERP5 site
with some Business Templates. By default it will use local python, MySQL,
Zope, etc.

Choosing and modifying proper profile allows to control how much software will
be build in place.
47 48 49 50 51 52 53 54

System dependency check
-----------------------

As each software component this buildout requires something to be installed.
To query what is required please use:

bin/buildout install show-requirements
55 56 57 58 59 60 61 62 63 64

Minimal requirements
--------------------

To start buildout it is required to have:

 * any python with header files (file similar to
   /usr/lib*/python*/config/Makefile have to be delivered by system package)
 * svn client (to checkout buildout)

65 66 67 68 69 70 71 72 73
After build check
-----------------

After software is build invoke:

  make assert

To be sure that all components are available (corretly build and linked).

74 75 76 77 78 79
Distribution helpers
--------------------

In profiles directory there are profiles to help with preparation of used
distributions.

Łukasz Nowak's avatar
Łukasz Nowak committed
80
To prepare Mandriva 2010.0 please type, having root privileges:
81

Łukasz Nowak's avatar
Łukasz Nowak committed
82
  helpers/mandriva2010.0.sh
83

84
There are more helpers available, please refer to helpers directory.