免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2752 | 回复: 0
打印 上一主题 下一主题

Eclipse + PyDev => Google AppEngine [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-07-23 00:09 |只看该作者 |倒序浏览
Eclipse + PyDev => Google AppE ...
1. install eclipse plug-in PyDev: http://pydev.sourceforge.net/updates/, restart eclipse
2. set python in eclipse: eclipse->window->preference->PyDev->Interpreter->python, choose python.exe
3. create a pydev project with python 2.5. (important!!!)
4. set project properties, pydev->pythonPath->External Libraries->add source folders   
        - google_appengine   
        - google_appengine\lib\django   
        - google_appengine\lib\webob   
        - google_appengine\lib\yaml\lib
        - google_appengine\google\appengine\ext
5. use src folder as app_engine root dir
6. The last thing we need to do now is to add a user-defined starter for our Google App Engine development server:
    * Go to Run -> Open Run Dialog.
    * Choose Python Run and add a new launch configuration (document icon with the plus sign in the top left of the dialog):
    * Name your run configuration.
    * Under "Project", add your Google App Engine Python project.
    * Under "Main Module", enter the location of the "dev_appserver.py" script.
    * Change to the "Arguments" tab and enter "${project_loc}/src" (包括引号) as first argument:
    * Click on Apply to save your changes.
    * Click on Run to run your project.
   
   
参见:
http://code.google.com/intl/zh-CN/appengine/articles/eclipse.html  
http://xuming.net/2008/04/google-app-engine-tutorial-0.html  


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/16292/showart_2004027.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP