【问题标题】:How do I restart an index.js file in a Ghost install?如何在 Ghost 安装中重新启动 index.js 文件?
【发布时间】:2015-11-22 01:18:59
【问题描述】:

我在安装 Ghost 时错误地使用控制台“永远停止 index.js”。现在该站点处于离线状态。我该如何解决这个问题?

【问题讨论】:

  • forever start index.js 也许?

标签: node.js npm ghost


【解决方案1】:

来自 Ghost 帮助支持:

使用Ghost 安装目录中的forever 启动Ghost 输入
NODE_ENV=production forever start index.js

http://support.ghost.org/deploying-ghost/

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-11-08
    • 1970-01-01
    • 1970-01-01
    • 2020-10-09
    • 1970-01-01
    • 1970-01-01
    • 2015-06-14
    • 1970-01-01
    相关资源
    最近更新 更多