1 How can I install Tryton using regular method? I mean downloading the installer (step to step)
2 I found some forums that talk about install Tryton using Anaconda, but I did not find channels or guides, any help?
1 How can I install Tryton using regular method? I mean downloading the installer (step to step)
2 I found some forums that talk about install Tryton using Anaconda, but I did not find channels or guides, any help?
Tryton basically consists of 3 parts:
Most of the times the database and server (points 1 and 2) are installed on a GNU/Linux server. It’s possible to do it on a Windows server, but you are basically on your own. I did some tests but never used it in production. Better in that case is to use the Docker container which is a complete solution for points 1 and 2.
For the Tryton client, there are Windows installers available for download.
Go to Tryton - Get Tryton where you also find the Docker container there.
+1 for simplicity, run the Docker container in WSL on Windows. You will need to learn about Docker and a little about PostgreSQL if you ever want to get your database out of the Docker container, but it’s the simplest path to get started with Tryton on Windows.
I already installed PostgreSQL, But I have no luck with Tryton for Windows 10. I found some post related to install/use Tryton but I stuck in create a localhost in the Tryton GUI entry point, always drop “host not found”. Any simple doc could help,.
… About docker, I tested other Dockers and I found bad performance.
You need also the Trytond server. The reason to use Anaconda is that it basically has almost all the packages Tryton needs. Take a look at Is it possible to install tryton server on a windows desktop? - #5 by ioanp to have a small checklist.
Containers are just processes. When performance is bad, it can be the container itself not configured properly or it’s your hardware.
I started my laptop and tried to run Trytond with sqlite, so no connection to PostgreSQL.
anaconda prompt
python -m venv --system-site-packages .
venv
with Scrips\activate.bat
(you’ll see the name of the directory also in front of your command line)pip install trytond
. This will install all the necessary packages needed for a basic systemtouch trytond.sqlite
trytond.conf
file to specify the database location or connection. I used notepad for that. Add[database]
uri = postgresql://<postgreUser>:<postgrePassword>@localhost:5432/
path = C:\Users\<username>\<location>\<of_your>\<configfile>
The uri
is only needed when connecting to PostgreSQL. Replace all the <>
with the actual values.
trytond-admin
to initialize the database with python Scripts\trytond-admin -c .\<configfile> -d <database> --all -vv
. A bunch of messages will flow over your screen and you will be asked for a email and password for the admin user.python Scripts\trytond -c .\<configfile> -d <database>
A post was split to a new topic: How to install using docker