Hi, This subject is often coming back on the forum.
We need some advices to correctly install trytond 4.2 on a debian server… (for production or testing) Here are our first steps on a debian 9.0 : - installing some packages : *sudo apt install python virtualenv mercurial python-pip* - creating « tryton » user : *sudo adduser tryton* *Using user « tryton » :* - creating directory where to install tryton : *mkdir /srv/tryton/4.2* - *pip install hgnested* and configuring .hgrc in /home/tryton : *[ui] * * username = Tryton <[email protected]> * * [extensions] * * hgnested = * - defining virtualenv in /srv/tryton/4.2 : *virtualenv .venv/tryton* - switching into virtualenv : */srv/tryton/4.2/source .venv/tryton/bin/activate* - cloning in /srv/tryton/4.2 trytond 4.2 and all the modules with nclone : *hg nclone http://hg.tryton.org/4.2/trytond -b 4.2* - configuring trytond.cfg to use postgresql database : *[database]* *uri = postgresql://tryton:tryton@postgresqlsrv:5432/* *Questions ?* « pip install . » or « python setup.py install » ? How to install all python dependencies for all the modules ? - Is there a list with all the requirements to use with pip ? - Should i execute trytond-admin –all and install dependencies one by one each time i get an error ? - What about issue https://bugs.tryton.org/issue5960 ? Waiting for your advices/suggestions... Then we could add this "how-to" to documentation.. Thanks ! -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/04bb2b49-db19-4675-a7c1-fe966ec5d910%40googlegroups.com.
