V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
Deserts
V2EX  ›  分享创造

Hexo👉🏻Ghost 博客迁移宣告完成 / 评论完美解决

  •  
  •   Deserts · 2017-08-16 15:56:23 +08:00 · 4403 次点击
    这是一个创建于 2443 天前的主题,其中的信息可能已经有所发展或是发生改变。

    历时十多天,博客迁移完成👏🏻👏🏻👏🏻。这个博客最早的文章记录是 14 年大一时候的,数据历经劫难( Typecho=>Wordpress=>Ghost=>Hexo ),评论数据也随之迁徙好几次了,好在一条未丢。

    安利 Ghost,安利 Valine。

    地址👉🏻:https://panjunwen.com/

    迁回 Ghost 原因也很简单:好看、好用——默认主题 Casper 太好看了,编辑器用着也贼爽,再不用担心 md 文件乱、图片乱、上传图片麻烦了,Command + S 就发布了。

    之前散乱的图片全部整理到了七牛,Ghost 装了七牛的插件。

    评论从 Disqus 转移到 LeanCloud,感谢 @Heroy 的 Valine。经我几天熬夜修改,用起来很舒心了。头像、邮件、反垃圾、评论管理 我能想到的都有了

    修改版的 Valine 在线预览:https://panjunwen.github.io/Valine/

    Valine 修改版: https://github.com/panjunwen/Valine

    Valine Admin on Github: https://github.com/panjunwen/Valine-Admin

    放张之前的截图:

    对 Ghost 唯一不满的是更新太频繁了。其他的 1.x 比起当时的 0.x 强了不少啊。基本三天一般本,今天起来发现到了 1.6 版本了。

    13 条回复    2018-01-30 17:21:47 +08:00
    Nan7Huang
        1
    Nan7Huang  
       2017-08-16 19:13:50 +08:00
    想把 hexo 换成 ghost 了
    Deserts
        2
    Deserts  
    OP
       2017-08-16 20:41:42 +08:00 via Android
    @Nan7Huang 想好了可以动手哦
    HoHoibin
        3
    HoHoibin  
       2017-08-16 21:10:59 +08:00
    想升级 ghost 了
    Deserts
        4
    Deserts  
    OP
       2017-08-16 22:00:33 +08:00
    @HoHoibin 如果在 0.x 版本建议升到 1.x 版本。小版本我会跳过。你的博客地址没找着。
    huclengyue
        5
    huclengyue  
       2017-08-18 23:37:22 +08:00
    七牛插件哪里来的?一直用低版本 ghost 就是因为没有七牛插件
    Deserts
        6
    Deserts  
    OP
       2017-08-19 14:07:41 +08:00 via Android
    @huclengyue 插件是支持最新版的 1.x 的,不过安装过程中容易报错自己解决下
    MacGG
        7
    MacGG  
       2017-08-20 09:04:55 +08:00
    为什么博客非要评论呢?
    hundan
        8
    hundan  
       2017-08-21 01:05:21 +08:00 via Android
    想 win 下装 ghost,没整明白,网上资料都是 0.x 版本的,跟现在的 ghost 都对不上……
    nirocfz
        9
    nirocfz  
       2017-08-21 03:08:16 +08:00 via Android
    把 hexo 的文章 markdown 文件导入到 ghost 有现成的办法吗
    mewpoi
        10
    mewpoi  
       2017-08-21 10:32:22 +08:00
    ghost 能部署到 github 吗?
    sobigfish
        11
    sobigfish  
       2017-08-21 12:34:47 +08:00
    key 暴露在客户端即使设置了只读也不安全吧
    ITOutsider
        12
    ITOutsider  
       2017-09-25 18:31:28 +08:00
    @hundan
    curl -L https://github.com/TryGhost/Ghost/releases/download/1.9.0/Ghost-1.9.0.zip -o ghost.zip
    unzip -uo ghost.zip -d ghost
    cd ghost && npm install --production
    npm install -g knex-migrator
    knex-migrator init
    npm start
    284716337
        13
    284716337  
       2018-01-30 17:21:47 +08:00
    Valine 评论好像不能分页,评论太多的时候全部显示在下面
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1028 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 22:07 · PVG 06:07 · LAX 15:07 · JFK 18:07
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.