To run pylons under eclipse, I make two projects, one for my isolated virtualenv pylons/python library environment, and another for my actual pylons code project (the controllers, routes, other layers, etc.). I suppose they could also be linked projects or all in one, but if you want to reuse the isolated python for other pylons projects, then I'd make two projects or link. To get the pylons server starting within pydev and dislaying its console output:
install pylons as per the pylon docs at: http://pylonshq.com/docs/en/0.9.7/gettingstarted/ and create a pylons project with paster
set up your virtualenv (or buildout, whichever) isolated python as a new project in Eclipse
make Eclipse aware that you have an alternate python isolated environment which it can run (Preferences->Python Interpreter)
set your new pydev project's interpreter to the interpreter you just declared in Preferences
then, in pydev, create a new runtime configuration for your pylons environment project, not for your pylons server code.
set the arguments in the next tab
Run the server and look for the console output
Hope this helps!
Comments (1)
Nov 11, 2011
Anonymous says:
Well, if you have some lumbar pillow beautiful feathers, ribbons, broshechki, b...Well, if you have some lumbar pillow beautiful feathers, ribbons, broshechki, beads, stones, pieces of glass (not sharp, of course), then you can give this child can not right for my birthday, but just coming to visit.
Add Comment