V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
levon
V2EX  ›  Python

有没有Flask开源的站点,最佳实践的,稍微复杂点的

  •  
  •   levon · 2012-07-26 16:35:18 +08:00 · 15052 次点击
    这是一个创建于 4292 天前的主题,其中的信息可能已经有所发展或是发生改变。
    官方网站提供的都太简单了,实际生产环境没法用
    14 条回复    1970-01-01 08:00:00 +08:00
    guotie
        1
    guotie  
       2012-07-26 17:02:00 +08:00   ❤️ 4
    newsmeme, 很不错的项目,不过目前已经不更新了,而且代码是基于0.7之前的版本的,用的是module而不是blueprint,demo网站打不开了

    @yetone 在github上发布了 feather 项目,是一个论坛, demo地址: http://feather.im

    我也在github上发布了 flaskbbs 项目,也是一个论坛,demo地址: http://flaskbbs.sinaapp.com/ ,github地址: https://github.com/guotie/flaskbbs

    希望对你有帮助。
    yetone
        2
    yetone  
       2012-07-26 18:10:33 +08:00   ❤️ 1
    如 @guotie 所说,强烈推荐阅读 newsmeme 的源码,读完你就完全有能力独立写个 web 项目了。源码地址: https://bitbucket.org/danjac/newsmeme
    levon
        3
    levon  
    OP
       2012-07-26 18:40:37 +08:00
    @yetone newsmeme作者已经不打算更新了,转战到别的语言了
    fanzheng
        4
    fanzheng  
       2012-07-26 18:51:55 +08:00   ❤️ 1
    http://flask.pocoo.org/community/poweredby/

    flask 官方收集的一些程序。
    likai
        5
    likai  
       2012-09-15 22:08:51 +08:00
    @guotie
    SAE上你是怎么部署上去的.?我怎么部署不上去.求指教
    guotie
        6
    guotie  
       2012-09-16 10:32:01 +08:00
    sae不就是用svn部署吗
    likai
        7
    likai  
       2012-09-16 10:56:25 +08:00
    @说错了...不是部署.
    而是运行.呵...没说清楚..
    好像是包的版本问题...改了一个晚上还不能正常运行.....还有.
    哪个数据库表怎么建啊俺是新手.不懂
    方便打包一个你DEMO的哪个给俺么?
    laiwei
        8
    laiwei  
       2012-09-16 12:31:37 +08:00
    guotie
        9
    guotie  
       2012-09-16 17:57:29 +08:00
    @likai

    1 有些依赖的包没有发布在github上
    2 建数据库表的方法:
    a 在sae后台建数据库,app_flaskbbs
    b 把application.py中建数据库的语句注释, init_db,提交;刷新你的sae的首页,这时会执行init_db,会建立相应的数据表;
    c 把init_db注释,重新提交;
    guotie
        10
    guotie  
       2012-09-16 17:58:41 +08:00
    此外,python-china也切换到flask框架,功能比flaskbbs更完善,代码质量更高一些,推荐一下。

    http://python-china.org
    c4pt0r
        11
    c4pt0r  
       2012-09-17 23:37:05 +08:00
    pypress
    https://github.com/laoqiu/pypress

    写得还不错
    zhaozijie
        12
    zhaozijie  
       2012-11-08 23:29:26 +08:00
    @yetone 如何理清这个项目地结构? :)
    zhy0216
        13
    zhy0216  
       2012-11-09 06:53:18 +08:00
    aisk
        14
    aisk  
       2012-11-09 09:08:07 +08:00
    http://python-china.org/ 这个是Tornado写的,但是新版要基于Flask写,但是现在貌似还没写完…
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2709 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 02:23 · PVG 10:23 · LAX 19:23 · JFK 22:23
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.