Go to file
Antony Lesuisse d1e40a55af [IMP] directory cleanups, moved historical cruft into history
bzr revid: al@openerp.com-20110926005444-a7vqjb05vep7xbvj
2011-09-26 02:54:44 +02:00
addons [FIX] receive and manually create a new one 2011-09-26 01:20:56 +02:00
bin [REM] obsolete .po files committed by LP, begone! 2011-06-10 19:50:45 +02:00
debian Launchpad automatic translations update. 2011-09-01 04:46:07 +00:00
doc [IMP] directory cleanups, moved historical cruft into history 2011-09-26 02:54:44 +02:00
history [IMP] directory cleanups, moved historical cruft into history 2011-09-26 02:54:44 +02:00
install [IMP] directory cleanups, moved historical cruft into history 2011-09-26 02:54:44 +02:00
openerp [IMP] directory cleanups, moved historical cruft into history 2011-09-26 02:54:44 +02:00
tests [IMP] tests: added a simple test case to create a database via XML-RPC. 2011-09-23 15:34:08 +02:00
win32 [FIX] Change the name of the NT Service 2010-12-29 12:51:44 +01:00
.bzrignore [fix] desactivated href in header 2011-09-19 13:57:35 +02:00
LICENSE [IMP] license: renamed general license file, and included note about other applicable licenses 2010-12-08 14:33:25 +01:00
LICENSE.web openobject is dead long live to openerpweb 2011-03-02 19:56:06 +01:00
MANIFEST.in [IMP] directory cleanups, moved historical cruft into history 2011-09-26 02:54:44 +02:00
Makefile [IMP] no need to cd in the doc folder, just use -C 2011-09-07 08:12:12 +02:00
README [IMP] directory cleanups, moved historical cruft into history 2011-09-26 02:54:44 +02:00
README.web [FIX] documentation update README 2011-09-06 21:20:04 +02:00
babel.cfg [imp] improved i18n to scan all files 2011-08-17 13:28:28 +02:00
gen_translations.sh [imp] refactoring of the translations according to rename of base to web 2011-09-06 12:03:36 +02:00
gunicorn.conf.py [IMP] wsgi: set the config via gunicorn config file. 2011-09-12 12:21:47 +02:00
npybabel.py [imp] improved i18n to scan all files 2011-08-17 13:28:28 +02:00
openerp-server [MERGE] trunk 2011-09-25 02:00:38 +02:00
openerp-web.cfg [IMP] Improved configuration. 2011-05-13 13:42:28 +02:00
openerp-web.py [IMP] web.common.sesion local backend part1 2011-09-24 18:38:28 +02:00
setup.cfg [IMP] directory cleanups, moved historical cruft into history 2011-09-26 02:54:44 +02:00
setup.nsi [IMP]Improvement in code 2011-08-11 18:58:15 +05:30
setup.py [IMP] directory cleanups, moved historical cruft into history 2011-09-26 02:54:44 +02:00
setup_rpm.sh [IMP] directory cleanups, moved historical cruft into history 2011-09-26 02:54:44 +02:00

README

About OpenERP
-------------

OpenERP is a free Enterprise Resource Planning and Customer Relationship 
Management software. It is mainly developed to meet changing needs.

The main functional features are: CRM & SRM, analytic and financial accounting,
double-entry stock management, sales and purchases management, tasks automation,
help desk, marketing campaign, ... and vertical modules for very specific 
businesses.

Technical features include a distributed server, flexible workflows, an object 
database, dynamic GUIs, customizable reports, NET-RPC and XML-RPC interfaces, ...

For more information, please visit: 
http://www.openerp.com

OpenERP Quick Installation Guide
---------------------------------

This file contains a quick guide to configure and install the OpenERP server.

Required dependencies:
---------------------

You need the following software installed:

    * Python 2.5 or 2.6
    * Postgresql 8.2 or above
    * Psycopg2 python module 
    * Reportlab pdf generation library for python
    * lxml python module
    * pytz python module
    * PyYaml python module (install with: easy_install PyYaml)

Some dependencies are only required for specific purposes:

for rendering workflows graphs, you need:
    * graphviz
    * pyparsing

For Luxembourg localization, you also need:
    * pdftk (http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/)

for generating reports using non .jpg images, you need:
    * Python Imaging Library for python

For Debian-based distributions, the required packages can be installed with the 
following command:

  #> apt-get install -y postgresql graphviz python-psycopg2 python-lxml python-tz python-imaging

For Fedora 
if they are not installed, install:
python and postgresql

uses yum or you can recover required packages on fedora web site in "core" or "extra" repository :
postgresql-python
python-lxml
python-imaging
python-psycopg2
python-reportlab
graphviz
You can find pyparsing at http://pyparsing.sourceforge.net/ 

1. Check that all the required dependencies are installed.

2. Launch the program "python ./bin/openerp-server.py -r db_user -w db_password --db_host 127.0.0.1".
See the man page for more information about options.

3. Connect to the server using the GUI client. And follow the instructions to create a new database.

Installation Steps
------------------

1. Check that all the required dependencies are installed.

2. Create a postgresql database.

The default database name is "terp". If you want to use another name, you
will need to provide it when launching the server (by using the commandline
option --database).

To create a postgresql database named "terp" using the following command:
    $ createdb --encoding=UNICODE terp

If it is the first time you use postgresql you might need to create a new user
to the postgres system using the following commands (where myusername is your
unix user name):

    $ su -
    # su - postgres
    $ createuser openerp
    Shall the new user be allowed to create databases? (y/n) y
    Shall the new user be allowed to create more new users? (y/n) y
    CREATE USER
    $ logout
    # logout

3. Launch service daemon by "service openerp-server start".

The first time it is run, the server will initialise the database with all the default values.

4. Connect to the server using the GUI client.

There are two accounts by default:
    * login: admin, password:admin
    * login: demo, password:demo

Some instructions to use setup.py for a user-install.
This file should/will be moved on a proper documentation place later.


- Possibly clean any left-over of the previous build.
  > rm -rf dist openerp_server.egg-info

- Possibly copy the addons in the server if we want them to be packaged
  together:
  > rsync -av --delete \
    --exclude .bzr/ \
    --exclude .bzrignore \
    --exclude /__init__.py \
    --exclude /base \
    --exclude /base_quality_interrogation.py \
    <path-to-addons> openerp/addons

- Create the user-local directory where we want the package to be installed:
   > mkdir -p /home/openerp/openerp-tmp/lib/python2.6/site-packages/

- Use --prefix to specify where the package is installed and include that
  place in PYTHONPATH:
  > PYTHONPATH=/home/openerp/openerp-tmp/lib/python2.6/site-packages/ \
    python setup.py install --prefix=/home/openerp/openerp-tmp

- Run the main script, again specifying the PYTHONPATH:
  > PYTHONPATH=/home/openerp/openerp-tmp/lib/python2.6/site-packages/ \
    /home/openerp/openerp-tmp/bin/openerp-server