HowTo install Tryton on a VM

Hi All,

(New users can only put 2 lines in a new post, here’s my original post)

Basically what I hope to achieve is to replicate demo. tryton. org on a local virtual machine/container (not docker), unfortunately the documentation for how to do this is not clear and I couldn’t find any how-to’s

I have a proxmox cluster, so I can use an LXC container (preferred) or a virtual machine, it shouldn’t really make a difference, but i’ve added this for reference.

So starting with How to install Tryton — Tryton server

There are three options to install Tryton:

  • Install the version provided by your operating system distribution. This is the quickest and recommended option for those who has operating system that distributes Tryton.
  • Install the published package. You first need to have pip installed. Then to install trytond run:

“Install the version provided by your operating system distribution” would have been nice if I could just do something like apt-get install trytond trytond-webclient but the deb packages don’t seem to install the webclient (sao?) and also seem to install Tryton version 5.x where I would prefer to start with something more recent at least in the version 6.x range but ideally >6.6

So onto the next option “Install the published package”

Here’s what I have so far:

  • Install OS (in my case I used Debian 11 that comes with Python 3.9.x)
  • apt update & apt upgrade (ensure OS is up to date)
  • apt-get install python3-pip (Install pip)
  • apt install nodejs npm (tryton web client / sao? needs nodejs? Setup web client with Debian 10, This installs nodejs v12.22.12 and npm v7.5.2 are these OK?)
  • pip install trytond (from install docs)
  • pip install trytond_sale (from install docs)

Here’s where it gets really unclear:

  • what other modules are used for the demo site?
  • what pip module do I install for the webclient?
  • Is there anything else I’m missing?
  • If I’ve understood correctly, if I don’t specify a database like Postgres Tryton will default to sqlite, is this correct? This will be fine for me for now.

Sorry if this is all clearly documented somewhere I couldn’t find it.

Dave.