thinkjs / cicada

Favorite article collections system
91 stars 28 forks source link

重新部署之后,用pm2启动会出错 #3

Closed niinaranpo closed 8 years ago

niinaranpo commented 8 years ago

顺便问一下新版本怎么切换语言。。

lizheming commented 8 years ago

你直接运行一下 node www/production.js 看看有没有问题,如果没有问题应该就是你的 pm2 的配置有问题了吧。切换语言的话需要增加一个 src/common/config/locale.js 文件,并增加如下代码:

export default {
    default: "en"
};
solarhell commented 8 years ago

@niinaranpo see https://github.com/thinkjs-team/cicada/pull/4