source: main/waeup.openerp/trunk/README.txt @ 11533

Last change on this file since 11533 was 11533, checked in by Henrik Bettermann, 11 years ago

Fill trunk.

File size: 2.4 KB
Line 
1waeup.openerp
2*************
3
4Install
5=======
6
7Please note, that **only Linux-based installs** are described and actively
8supported. We recommend use of Debian / Ubuntu.
9
10
11Preparing the System
12--------------------
13
14Necessary packages can be installed on Debian systems like this::
15
16  $ sudo apt-get install postgresql
17
18Occasionally, PostgreSQL 9.1 database server cannot be started.
19n order to resolve the error, you need to edit the postgresql.conf file
20(located in my /etc/postgresql/9.1/main directory).
21By default, the ssl is set to true and that is the reason which causes
22the “meaningful” error. You need to set it to false.
23[Source: http://www.jusuchyne.com/codingchyne/2010/04/postgres-could-not-load-private-key-file/]
24
25Restart postgresql and continue with package installation::
26
27  $ sudo apt-get install postgresql-server-dev-9.1 \
28                         python2.7 python2.7-dev build-essential \
29                         libldap2-dev libsasl2-dev libjpeg-dev \
30                         python-virtualenv
31
32
33Configuring OpenERP User on Postgres
34------------------------------------
35
36Create a new database user. This is so OpenERP has access rights to connect
37to PostgreSQL and to create and drop databases. Remember what your choice
38of password is here; you will need it later on::
39
40  $ sudo su - postgres
41  $ createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt openerp
42  $ exit
43
44
45Preparing OpenERP System User and Home Folder
46---------------------------------------------
47
48  $ sudo adduser --system --group --shell /bin/bash --home /openerp openerp
49
50Login as OpenERP user::
51
52  $ sudo bash
53  $ su openerp
54  $ cd ~
55
56
57Predefining the ``eggs`` folder
58-------------------------------
59
60Create ``~/.buildout/default.cfg`` with the
61following contents::
62
63  [buildout]
64  eggs-directory = /openerp/eggs
65
66
67Bootstrapping the Buildout
68--------------------------
69
70Install local sandbox::
71
72  $ virtualenv --no-site-packages py27
73
74Activate local sandbox::
75
76  $ source py27/bin/activate
77
78Uninstall local setuptools and pip::
79
80  (py27)$ pip uninstall setuptools pip
81
82Checkout ``waeup.openerp``::
83
84  (py27)$ svn co https://svn.waeup.org/repos/main/waeup.openerp/trunk myopenerp
85
86Finally, perform the bootstrap with the virtualenv's Python::
87
88  (py27)$ cd myopenerp
89  (py27)$ python bootstrap.py
90
91
92Running the Build
93-----------------
94
95Just run ::
96
97  $ bin/buildout
98
99Starting OpenERP
100----------------
101
102Just run ::
103
104  $ bin/start_openerp
Note: See TracBrowser for help on using the repository browser.