htgoebel
(Hartmut Goebel)
January 15, 2021, 7:21pm
1
For some first quick tests, I want to use trytond’s HTTP interface in a browser. Anyhow I only get “405 Method not allowed”. What am I missing?
cd /path/to/tryton-pwd
mkdir var
touch var/test1.sqlite
python3 -m venv _venv
. _venv/bin/activate
pip install trytond
trytond-admin -c trytond.conf -d test1 --all
trytond -c trytond.conf &
wget http://localhost:8000/
[…]
405 METHOD NOT ALLOWED
Config:
[database]
uri = sqlite://
path = /path/to/tryton-pwd/var
default_name = test1
[web]
root = /path/to/tryton-pwd/www
German
(German Dario Alvarez)
January 15, 2021, 7:40pm
2
Did you install sao ? You need to have that in order to use http interface.
htgoebel
(Hartmut Goebel)
January 15, 2021, 8:49pm
3
No. It is not mentioned in the manual. What is this?
German
(German Dario Alvarez)
January 15, 2021, 11:59pm
4
As I know sao it’s the web client for trytond, so if you want to access tryton from web browser, you need to install it and configure it. Take a look here how to do it:
If you’re using docker image I think sao is already there.
system
(system)
Closed
February 14, 2021, 11:59pm
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.