Create OpenERP appliance

Registered by Liraz

Bino kindly provided a TKLpatch that transforms LAPP into an OpenERP appliance

Blueprint information

Status:
Started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Pending Approval
Series goal:
None
Implementation:
Started
Milestone target:
None
Started by
Jeremy Davis

Related branches

Sprints

Whiteboard

Steps towards Implementation on TKL Squeeze PostGres (patch comes next after some more testing)

-------------

# After IP setup
# (using primary source http://www.vionblog.com/install-openerp-7-0-from-trunk/

# try to have 1 gb of Ram for BZR, or at least a lot of time as a guide.. 256 is very slow after # first 50,000 kb)
__________

apt-get update
apt-get install tklpatch
(Y)

# went to webmin (ok, found I can now Paste from Browser in WEBSHELL, Cool (the next lines were pasted as one long line from Text Editor, so works in Webmin. Can have Dash at line end in Webshell)

apt-get install -y python-dateutil python-feedparser python-gdata python-ldap python-libxslt1

python-lxml python-mako python-openid python-psycopg2 python-pybabel python-pychart

python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-vatnumber

python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi python-docutils

python-psutil bzr wget python-unittest2 python-mock python-jinja2

# (added -y above, and removed line breaks in documentation) Pasted in Webmin Command quite

slow.. but goes in

apt-get install -y python-pip
# apt-get install python-pil (no release candidates)
apt-get install -y python-imaging

# (found a reference for 2 more Python adds on the Above Forum entry -- noted in # Comments.. (next linespasted)
# EDIT vion : added python-unittest2 and python-mock thanks for the comments

# EDIT2 vion : Added python-jinja2 because i (vion) got error: #openerp.addons.email_template.email_template: jinja2 not available, templating features will not work!

back to webshell

wget http://gdata-python-client.googlecode.com/files/gdata-2.0.17.tar.gz
tar zxvf gdata-2.0.17.tar.gz
cd gdata-2.0.17/
python setup.py install

(pasted in webmin command (a bit out of sequence but I don't know if it matters)

adduser --system --quiet --shell=/bin/bash --home=/opt/openerp --gecos 'OpenERP' --group openerp

su - postgres -c "createuser -s openerp" 2> /dev/null || true

# su - openerp
cd /opt/openerp
bzr branch lp:openobject-server/7.0 server
bzr branch lp:openobject-addons/7.0 addons
bzr branch lp:openerp-web/7.0 web

(need to run chown and chmod on these folders)
chown -r openerp:openerp /opt/openerp

Start File is Created with the following in:
/opt/openerp
(best to edit within Webmin)

#!/bin/bash
./server/openerp-server --xmlrpc-port=40069 --netrpc-port=40070 --addons-path=addons,web/addons $1 $2 $3 $4 $5&

# to invoke it I have to use (/bin/bash) below:
su - openerp
/bin/bash/ start

#(it should go w/out bin/bash I would think)
## Nikola Stojanoski
# January 27, 2013 at 8:46 pm

# #this post was for development version of OpenERP 7.0 and for that reason you need to # # ## start it every time you reboot your server.
# # I’ll do a production server post shortly, in the meanwhile you can add in your /etc/rc.local # # ## this line:

# ## su – openerp -c “/opt/openerp/start”

# Tried the above ## (su command) in /etc/rc.local but the shell prompt does not come back

In Shell though (stated elsewhere)

su - openerp
/bin/bash start

Starts the OPENERP Server
Can watch the console of events even showing web calls.
exit

returns the shell prompt

-------

(I had to add or recreate the Posgres user (probably missed it the first time through)
u - postgres -c "createuser -s openerp" 2> /dev/null || true

and also to Move the addons and web folders to /opt/openerp (as they had been dropped into root after shutting down to increace VM RAM for bzr performance)

go to BROWSER:
http://(your domain):40069

CREATE a DATABASE.
START USING the AP

(Ports can be specified in the START file ABOVE)

-----------
2010- through 2012 Notes Below

-------------
There has been a OpenERP appliance created (small fee charge) I believe the link is openerpappliance.com or org..

Original TKLPatch by Bino: http://www.turnkeylinux.org/forum/general/20100128/openerp-tkl-lapp
Updated patch by rdmelon: http://www.turnkeylinux.org/forum/general/20111022/openerp-603-tkl-lapp-112
-----------

More information just Posted on the Turnkey Wiki. also posted a "Combined Appliance" Blueprint (OpenERP-MagentoConnect). Would add great value if this branch could be Pre Built for folks who don't know Git/Bazaar links on the WIKI.

Some Progress on this... Meanwhile openerpappliance.com has also put out a 6.03 Version. The Magento Connect is somewhat problematic in that it needs to be tuned to a specific version of Magento... They are indicating 1.4 and 1.5 (not 1.6 ??) TKL Magento Ap is 1.4. Current Magento is 1.6.1

------------
12-7-12 L.Arnold

The patch I made last year was modified from Bino's. Did get MagentoERPConnect integrated but now OpenERP has changed their download links etc and it is not working.

12-27-12 L. Arnold
OpenERP 7.0 is now available. WGETS can be downloaded from

http://nightly.openerp.com/7.0/nightly/

The OpenSourcerer had a good update on integrating version OpenERP 6.1 into Ubuntu.. This reflected some of the new OpenERP downloads under the NIGHTLY folder structure and should be usable to make a Debian Patch as well.

----------

Day Later Note
Proper cooperative editing, requires having EtherPad Server Connection (aka Pads) https://github.com/karteek/etherpad/blob/master/users-guide.md

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.