Advised develop environment for Tryton???

111 views
Skip to first unread message

pgm.l...@gmail.com

unread,
May 3, 2016, 8:55:03 AM5/3/16
to tryton-dev
Since my change to open source and Python, the time for developing databases, applications and their publication became much much longer for me.
I always used beautiful RAD but in the open source world I found no good environments, so I try to get used again to the way it was, 10 years ago.

For developing Tryton I would appreciate any advise how I can create my environment to develop as fast and easy as possible in open source.

Read a lot of Flask, Nereid and Django, but what do you prefer for Tryton???
 
We have nice all-in-one and no-code environments but in open source we still have to wait a year, I'm afraid. Or not???

Thanks!

Pieter
 

Marc Murray

unread,
May 4, 2016, 9:15:58 PM5/4/16
to tryto...@googlegroups.com
Hi Pieter,

Not using an IDE, a single tool made by a single team, can actually lead to more powerful tools being available. I use the following tools in my work developing tryton modules and python (django+flask) based web apps.

Editor: SublimeText and/or Atom (from Github).
I used Eclipse + PyDev in the past, but I find Eclipse a bit slow on the startup and features like multiple cursors make both Sublime and Atom quite appealing. Both offer a semi-retarded kind of code completion that requires that you still know what you're doing. Code completion in Pydev (Eclipse) is much more mature. But, it requires that you setup Pydev to point to the appropriate python executable that can import Tryton packages/modules.

Debugger: the good ol' pdb. It works.

Revision Control: I prefer git over mercurial. But, tryton is a hg project. I use hg and tortoisehg for when I have to interact with mercurial repositories. Otherwise, I'm using git and and git-cola

Test/Dev Execution Environment: virtualenv is your friend.

Database: I have postgresql installed on my workstation. Is there any other way to do it?
To communicate with postgres, e.g. to create new users or new databases, I just use the command line tools as the postgres user.
e.g.
sudo -i -u postgres
createuser -PRESd trytondev
createdb -E UNICODE -O trytondev trytondev34_test

I hope this helps.

---
MM



pgm.l...@gmail.com

unread,
May 11, 2016, 10:05:03 AM5/11/16
to tryton-dev
Hi MM,

Thanks for your advice. I will have a look at Atom, PyDev and also at PyCharm.
I like SQLserver and Mysql but because of Ubuntu and Tryton now I am using Postgresql with Pgadmin3. it's OK.
Pieter
 

 
Reply all
Reply to author
Forward
0 new messages