OS: Ubuntu Server 16.04 LTS
I am quite confused on how to properly install the Tryton ERP software on ubuntu. When you navigate to the Tryton website, there is the pip variant:
$ pip install trytond
$ pip install tryton
$ pip install trytond_module_name
AFAIU trytond is the server part, tryton is the (graphical) client. Now, there is a link to the Ubuntu package server on the tryton website. There listed are all(or at least a lot) of the modules. And also the client (tryton-client).
Why is there no trytond package? Should I install trytond with pip and then the packages with apt?
The next thing is the sao webgui... why is this not a module? I managed to install trytond with pip (after quite some hassle with lxml). Then I used the following commands:
erp@trytonMachine:~$ trytond --version
trytond 4.2.0
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt install git
git clone https://github.com/tryton/sao.git
cd sao
sudo npm install -g grunt-cli sudo npm install -g bower
npm install bower install grunt
These commands seemed to be running with no errors. (Don't know how to verify)
below are the relevant parts of /etc/tryton/trytond.conf
[database]
path = /var/lib/tryton
[jsonrpc]
listen = localhost:8000
data = /home/erp/sao/
# full file: http://pastebin.com/z2NtRk5q
After adding above parameters I ran
sudo service tryton-server restart
So far I can not connect with the browser from another PC. Any hints on how to progress? Maybe some command to check if sao is successfully linked to trytond?
Thanks. I really appreciate any answer.
VapoRizer
You can not connect from another host because you configured trytond to listen only on localhost.
To listen from any host, you must set to listen on 0.0.0.0:8000
for IPv4 and to [::]:8000
for IPv6.