Installing TinyERP 4.2 and eTiny Web Client on Fedora x86_64
Prerequisites
PostgreSQL 8.3 or later
Python
Create TinyERP database
Create TinyERP database user
Set up PostgreSQL authentication
Install TinyERP
Configure TinyERP
Start TinyERP server
Install eTiny
Prerequisites
Python >= 2.4
Open ERP Server >= 4.2.1 < 4.3
TurboGears >= 1.0.3.2
matplotlib >= 0.87
Python Imaging Library (PIL)
eTiny is the name of the web client for TinyERP, while the web client for OpenERP is called OpenERP-web.
Install eTiny as follows:
# yum install python-devel python-setuptools python-setuptools-devel python-imaging python-matplotlib TurboGears
# easy_install http://www.openerp.com/download/old/ eTiny-1.0.2.tar.gz
Configure eTiny
Locate the config/default.cfg in the installed OpenERP Web Client egg, and make appropriate changes, especially:
[tinyerp]
server = "localhost"
port = 8070
protocol = "socket"
where:
server is the Open ERP server host...
port is the Open ERP server port...
protocol is the protocol to be used (socket, http or https)
[etiny]
manage.visible = False
where:
manage.visible, if True then shows Manage button on the Login screen which opens database management panel
Depending on your version of OpenERP and the system you are using, the [tinyerp] section might be called [openerp] and [etiny] might be [admin].
Start eTiny
If everything is installed properly, start the OpenERP Web Client HTTP server running the start-tinyerp command from the terminal.
# start-tinyerp
If you see message showing:
cherrypy._cperror.NotReady: Port not free.:
Make sure no other application is running on the specified port (8080 is default). You can change port for OpenERP Web Client by changing appropriate config value in default.cfg:
server.socket_port =
If everything is fine, open your favorite web browser and type http://your.host.url:8080, and your can see welcome page with login screen.
Of course, TinyERP Server must be running at that time. You should create a database from the DBAdmin interface by clicking on Manage button that you can see besides the Database selection box. After creating a new database login with the admin/admin or demo/demo to see the OpenERP Web Client in action...
Setup eTiny to run as a deamon
# cp /usr/lib/python2.6/site-packages/eTiny-1.0.2-py2.6.egg/scripts/etiny-server /etc/init.d/
# cp /usr/lib/python2.6/site-packages/eTiny-1.0.2-py2.6.egg/config/default.cfg /etc/etiny-server.cfg
# chkconfig etiny-server on
Setup Apache sub-domain for eTiny
Open required ports on firewall
The following ports should be open in your firewall:
8069
8070
8080


