Do you have the professional or community edition of pycharm? If if the professional version, you actually run the web2py server (using its built in webserver, rocket), not a particular application.
I open pycharm in the web2py directory, not the directory of my app. This means in the project tree you see all applications; just work with the one of interest. If you're using git you can still have separate repos per application. You can run web2py in debug mode; I have a preconfigured web2py run/debug configuration which pycharm added for me. It calls the script web2py.py in "single instance only" mode. When you run or debug, it starts web2py as if you ran the script yourself, but in debug mode it binds to the server allowing you to out breakpoints in controllers (pydev does this too). You use your browser to call the URL of interest (the web2py server gui has a convenient pages menu which lets you quickly go to the home page of your applications). Clicking the debug icon again prompts you to close and restart the web2py server. On Tuesday, 24 December 2013 08:05:22 UTC+11, Hoon Chung wrote: > > Hi, I just started to experiment with web2py by creating a blank project > in PyCharm. Can somebody tell me how to run it from within PyCharm? The > only documentation on web2py in PyCharm was to how create it but it doesn't > mention how to run the project. Thanks for your help in advance. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.