4 OpenERP is a free Enterprise Resource Planning and Customer Relationship
5 Management software. It is mainly developed to meet changing needs.
7 The main functional features are: CRM & SRM, analytic and financial accounting,
8 double-entry stock management, sales and purchases management, tasks automation,
9 help desk, marketing campaign, ... and vertical modules for very specific
12 Technical features include a distributed server, flexible workflows, an object
13 database, dynamic GUIs, customizable reports, NET-RPC and XML-RPC interfaces, ...
15 For more information, please visit:
16 http://www.openerp.com
18 OpenERP Quick Installation Guide
19 ---------------------------------
21 This file contains a quick guide to configure and install the OpenERP server.
23 Required dependencies:
26 You need the following software installed:
29 * Postgresql 8.2 or above
30 * Psycopg2 python module
31 * Reportlab pdf generation library for python
34 * PyYaml python module (install with: easy_install PyYaml)
36 Some dependencies are only required for specific purposes:
38 for rendering workflows graphs, you need:
42 For Luxembourg localization, you also need:
43 * pdftk (http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/)
45 for generating reports using non .jpg images, you need:
46 * Python Imaging Library for python
48 For Debian-based distributions, the required packages can be installed with the
51 #> apt-get install -y postgresql graphviz python-psycopg2 python-lxml python-tz python-imaging
54 if they are not installed, install:
57 uses yum or you can recover required packages on fedora web site in "core" or "extra" repository :
64 You can find pyparsing at http://pyparsing.sourceforge.net/
66 1. Check that all the required dependencies are installed.
68 2. Launch the program "python ./bin/openerp-server.py -r db_user -w db_password --db_host 127.0.0.1".
69 See the man page for more information about options.
71 3. Connect to the server using the GUI client. And follow the instructions to create a new database.
76 1. Check that all the required dependencies are installed.
78 2. Create a postgresql database.
80 The default database name is "terp". If you want to use another name, you
81 will need to provide it when launching the server (by using the commandline
84 To create a postgresql database named "terp" using the following command:
85 $ createdb --encoding=UNICODE terp
87 If it is the first time you use postgresql you might need to create a new user
88 to the postgres system using the following commands (where myusername is your
94 Shall the new user be allowed to create databases? (y/n) y
95 Shall the new user be allowed to create more new users? (y/n) y
100 3. Launch service daemon by "service openerp-server start".
102 The first time it is run, the server will initialise the database with all the default values.
104 4. Connect to the server using the GUI client.
106 There are two accounts by default:
107 * login: admin, password:admin
108 * login: demo, password:demo
110 Some instructions to use setup.py for a user-install.
111 This file should/will be moved on a proper documentation place later.
114 - Possibly clean any left-over of the previous build.
115 > rm -rf dist openerp_server.egg-info
117 - Possibly copy the addons in the server if we want them to be packaged
119 > rsync -av --delete \
121 --exclude .bzrignore \
122 --exclude /__init__.py \
124 --exclude /base_quality_interrogation.py \
125 <path-to-addons> openerp/addons
127 - Create the user-local directory where we want the package to be installed:
128 > mkdir -p /home/openerp/openerp-tmp/lib/python2.6/site-packages/
130 - Use --prefix to specify where the package is installed and include that
132 > PYTHONPATH=/home/openerp/openerp-tmp/lib/python2.6/site-packages/ \
133 python setup.py install --prefix=/home/openerp/openerp-tmp
135 - Run the main script, again specifying the PYTHONPATH:
136 > PYTHONPATH=/home/openerp/openerp-tmp/lib/python2.6/site-packages/ \
137 /home/openerp/openerp-tmp/bin/openerp-server