Meteor-BBS v0.2 发布,支持 QQ 登录和简单的权限控制了 - V2EX
Meteor Official Site
http://www.meteor.com/
Follow @meteorjs on Twitter
chuangbo

Meteor-BBS v0.2 发布,支持 QQ 登录和简单的权限控制了

  •  
  •   chuangbo Oct 17, 2012 8936 views
    This topic created in 4957 days ago, the information mentioned may be changed or developed.
    这是一份对 Project Babel 3 的克隆,用 Meteor 写成。
    DEMO: https://meteor-bbs.meteor.com
    github: https://github.com/chuangbo/meteor-bbs
    QQ登录和权限控制是 @yonggao 发起的 pull request,感谢!

    相关讨论
    1. /t/48084 用 Meteor 克隆了一个实时的 V2EX
    2. 旧 Demo 地址 https://dnspod-bbs.meteor.com
    3. 理论上还支持 Github/Google/Twitter/新浪微博/Facebook http://auth-docs.meteor.com/#meteor_loginwithexternalservice
    46 replies    1970-01-01 08:00:00 +08:00
    gonbo
        1
    gonbo  
       Oct 17, 2012
    不错。
    yetone
        2
    yetone  
       Oct 17, 2012
    终于出源码了,国庆的时候自己闷头鼓捣 Meteor 的日子真是不堪回首啊,终于有源码可以读了
    run2
        3
    run2  
       Oct 17, 2012
    牛啊,学习下,贴2个小bug,
    无内容的node下还是显示了下一页的按钮
    没登录时点新主题完全没反应啊。
    liuhang0077
        4
    liuhang0077  
       Oct 17, 2012
    期待支持weibo登陆
    guotie
        5
    guotie  
       Oct 17, 2012
    速度飞快啊
    cmonday
        6
    cmonday  
       Oct 17, 2012
    “创建新主题”还没有做?
    cmonday
        7
    cmonday  
       Oct 17, 2012
    原来必须登录才能创建,但是只有 qq 登录还是有些蛋疼的说……嗯,有空看看代码,也给你发 pull request
    run2
        8
    run2  
       Oct 17, 2012
    啊,每个app, meteorite都会下载一个Meteor,不能直接调用系统的么
    dreamer
        9
    dreamer  
       Oct 17, 2012
    看了一下代码,templates 都放在了一个文件里, client js 也是,不知道楼主有没有好的分离代码的方法?做 multi page 的时候还是想分离一下代码。
    chuangbo
        10
    chuangbo  
    OP
       Oct 17, 2012
    @cmonday 好啊,如果能支持多种登录方式,并且有配置可以让开发者可以自由开关某些登录方式就更好了。
    我一直认为一个网站同时支持多种登录方式会让用户非常困惑。
    chuangbo
        11
    chuangbo  
    OP
       Oct 17, 2012   1
    @dreamer 直接分到多个文件就好了,Meteor 对代码的组织没有任何要求,他会自动将目录下所有 js/css/html 扫描出来放到页面上。
    run2
        12
    run2  
       Oct 17, 2012
    weibo直接支持啊,怎么改 才接触meteor
    http://auth-docs.meteor.com/#accounts_ui_config
    dreamer
        13
    dreamer  
       Oct 17, 2012
    @chuangbo 在一个 html 里面可以使用另外一个 html 中的 template?
    twm
        14
    twm  
       Oct 17, 2012
    谁用php实现一个
    chuangbo
        15
    chuangbo  
    OP
       Oct 17, 2012
    @dreamer 是的,Meteor 会将“所有”代码合并到一起,不论你分成多少个文件、放在哪里、有多少个子目录
    https://github.com/tmeasday/unofficial-meteor-faq#where-should-i-put-my-files
    Numbcoder
        16
    Numbcoder  
       Oct 17, 2012
    说好的 single page 呢,我肿么看到了 url 跳转
    talentsnail
        17
    talentsnail  
       Oct 17, 2012
    @guotie 为什么速度会这么快?
    chuangbo
        18
    chuangbo  
    OP
       Oct 17, 2012
    dreamer
        19
    dreamer  
       Oct 17, 2012
    @chuangbo 看到了,多谢!
    liuhang0077
        20
    liuhang0077  
       Oct 17, 2012
    @dreamer 我超喜欢你的头像求 高清大图
    dplord
        21
    dplord  
       Oct 17, 2012
    呵呵呵,很不错哦
    dreamer
        22
    dreamer  
       Oct 17, 2012   1
    liuhang0077
        23
    liuhang0077  
       Oct 17, 2012
    @dreaer 哇咔咔非常感谢~ 已经感谢你啦 给你家点铜币嘿嘿
    run2
        24
    run2  
       Oct 18, 2012
    添加了个简单的meteor_loginwithexternalservice 的https://github.com/chuangbo/meteor-bbs/pull/4 楼主请审核 :)
    luke
        25
    luke  
       Nov 4, 2012
    @chuangbo 请问怎么才能使这个node进程在VPS(ubuntu 12.04 + nginx +nodejs)上不间断运行,比如配合forever使用?感谢!
    loveminds
        26
    loveminds  
       Nov 4, 2012   1
    oldgun
        27
    oldgun  
       Nov 4, 2012
    @luke 你不是知道答案了吗forever就可以
    luke
        28
    luke  
       Nov 5, 2012
    我还不太会用forever,能否具体说明一下? 我查到forever的用法如下
    $ forever --help
    usage: forever [options] [action] SCRIPT [script-options]

    运行Meteor-BBS的方法是:
    $ # meteor
    $ mrt

    然后我试着运行 forever start mrt 提示

    info: Forever processing file: mrt
    error: Cannot start forever
    error: script /srv/www/meteor-bbs/mrt does not exist.
    goofansu
        29
    goofansu  
       Nov 5, 2012
    速度超快
    chuangbo
        30
    chuangbo  
    OP
       Nov 5, 2012   1
    @lue 我在 /etc/rc.local 里是这样写的
    cd /path/to/meteor-bbs/ && nohup mrt --production=true --port 80 &
    luke
        31
    luke  
       Nov 6, 2012
    @chuangbo 非常完美,感谢!:-)
    d0a1ccec
        32
    d0a1ccec  
       Nov 6, 2012
    期待下一版本支持weibo 、 人人登录
    zihancn
        33
    zihancn  
       Nov 6, 2012
    能够搞的向V2EX就好了,期待中……
    vexfan
        34
    vexfan  
       Nov 6, 2012
    什么时候可以出服务器版本
    chuangbo
        35
    chuangbo  
    OP
       Nov 6, 2012   1
    @vexfan 你下载代码,放在你服务器上跑就可以了
    vexfan
        36
    vexfan  
       Nov 6, 2012
    这个怎么安装,菜鸟不懂~
    azure
        37
    azure  
       Nov 6, 2012
    这样的框架对搜索引擎是友好的嘛?看了下生成的html
    chuangbo
        38
    chuangbo  
    OP
       Nov 6, 2012   1
    vexfan
        39
    vexfan  
       Nov 7, 2012
    在linode上怎么配置?什么时候可以出个完全的教程配置一下这个论坛。这个论坛速度实在是超快。此外,这个论坛目前貌似还没有开发的很完整。什么时候可以开发完整,可以真的拿来做站?@chuangbo
    kavi
        40
    kavi  
       Nov 8, 2012
    不错,持续关注!!
    formalin14
        41
    formalin14  
       Nov 8, 2012
    你好,我最近也在研究meteor,能不能留个邮箱或者qq或者facebook,交流一下?
    dripple
        42
    dripple  
       Nov 9, 2012
    速度太快了
    xieren58
        43
    xieren58  
       Dec 5, 2012
    @chuangbo 权限没设好,前端可以直接改数据~~~ > 全部 ,测试 漏洞 前端 修改 数据 Node.js~~~
    meteor2013
        44
    meteor2013  
       Dec 9, 2012
    请问下面这个这个错误是不是因为没有正确安装 meteorite(atmosphere 的 package)造成的啊?

    应该如何解决、或者怎么能正确安装meteorite包呢?

    谢谢


    Error: The package named router does not exist.
    at _.extend.init_from_library (/usr/local/meteor/app/lib/packages.js:91:13)
    at Object.module.exports.get (/usr/local/meteor/app/lib/packages.js:225:11)
    at self.api.use (/usr/local/meteor/app/lib/bundler.js:83:28)
    at Array.forEach (native)
    at Function._.each._.forEach (/usr/local/meteor/app/lib/third/underscore.js:79:11)
    at Object.self.api.use (/usr/local/meteor/app/lib/bundler.js:82:9)
    at _.extend.init_from_app_dir [as on_use] (/usr/local/meteor/app/lib/packages.js:136:11)
    at _.extend.use (/usr/local/meteor/app/lib/bundler.js:362:11)
    at Object.exports.bundle (/usr/local/meteor/app/lib/bundler.js:649:12)
    at bundle_and_deploy (/usr/local/meteor/app/meteor/deploy.js:81:24)
    chuangbo
        45
    chuangbo  
    OP
       Dec 9, 2012
    @meteor2013 你是用 mrt 运行的吗?可以多运行 mrt 试几次,或者用 mrt update
    最近 router 这个包变化很大,我要改一下代码才可以正常运行,跟一个 Preview 的产品,虽然有趣,但确实很累
    xieren58
        46
    xieren58  
       Dec 10, 2012
    @chuangbo meteor-router 不支持ie,蛋疼~~
    About     Help     Advertise     Blog     API     FAQ     Solana     5890 Online   Highest 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 172ms UTC 03:18 PVG 11:18 LAX 20:18 JFK 23:18
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86