请教一下论坛框架部署的问题

在*乎上看到您的文章,感觉很厉害。 可以请教一下discourse框架的部署问题吗? “我是想部署在阿里云上,数据库用其他的云数据库”不知道这个想法可行吗? 还有方便指导一下怎么部署吗?目前刚开始安装,setup之后,等了大概30分钟了,卡在这里不动了

I, [2022-10-25T11:48:34.643506 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake themes:update assets:precompile'
- Building
- Building
- building... 
Though the "loose" option was set to "false" in your @babel/preset-env config, it will not be used for @babel/plugin-proposal-private-property-in-object since the "loose" mode option was set to "true" for @babel/plugin-proposal-class-properties.
The "loose" option must be the same for @babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods and @babel/plugin-proposal-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding
        ["@babel/plugin-proposal-private-property-in-object", { "loose": true }]
to the "plugins" section of your Babel config.
Though the "loose" option was set to "false" in your @babel/preset-env config, it will not be used for @babel/plugin-proposal-private-methods since the "loose" mode option was set to "true" for @babel/plugin-proposal-private-property-in-object.
The "loose" option must be the same for @babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods and @babel/plugin-proposal-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding
        ["@babel/plugin-proposal-private-methods", { "loose": true }]
to the "plugins" section of your Babel config.

又等了20分钟没有任何反应,这正常吗

你是想请教 @zilongshanren 吧,你可以在论坛里私信他的。

可以的,数据库服务器能访问到就行了,但通常数据库服务器和网站服务器在同一个私有网络环境下

卡住了吧。

如果是我的话,我会参考 Discourse 的文档,而且在内地部署的话,要做好网络不顺畅的心理准备

请参考我的最新文章,需要准备好代理:

https://zilongshanren.com/post/setup-a-discourse-forum-from-scratch/

2 个赞

成功搭建好了,目前在探索插件和主题

恭喜,字数补丁。

顺便补充一下,如果用163的邮箱,记得把app.yml修改为25端口,还有云服务器解封25端口。