下载:

composer create-project flarum/flarum . --stability=beta

修改谷歌字体网址:

/vendor/flarum/core/src/Http/WebApp/WebAppView.php第186行修改为:

        $this->addHeadString('<link rel="stylesheet" href="//static.wenshi.tech/assets/fonts/opensans.css">', 'font');

vendor/flarum/core/views/install/app.php第10行删除或者修改为:

      @import url(//static.wenshi.tech/assets/fonts/opensans.css);

安装程序

修改文件夹权限chmod -R 777 *

安装插件

中文:composer require flarumchina/flarum-ext-simplified-chinese-pro
头部导航:composer require sijad/flarum-ext-links
上传:composer require flagrow/upload
转换媒体:composer require flarumchina/flarum-ext-mediaembed-pro
最佳回复:composer require wiwatsrt/flarum-ext-best-answer
用户列表:composer require flagrow/users-list
表情点击(慢):composer require clarkwinkelmann/flarum-ext-emojionearea
过滤:composer require issyrocks12/flarum-ext-filter
头像剪切:composer require wiseclock/flarum-ext-profile-image-crop
回复转帖:composer require flagrow/split
帖子版权:composer require wiseclock/flarum-ext-post-copyright

设置:
CCBY4.0,署名 4.0 国际,本作品采用<a target="_blank" rel="license" href="http://creativecommons.org/licenses/by/4.0/">知识共享署名 4.0 国际许可协议</a>进行许可。
mit,MIT License,你必须遵守 <a href="https://opensource.org/licenses/MIT">The MIT License</a> 使用这篇文章.

安装MD按钮:composer require xengine/flarum-ext-markdown-editor
修改vendor/composer/installed.json5393行为以下内容

                "title": "Markdown Editor",
                "icon": {
                    "name": "pencil",
                    "backgroundColor": "#2e3436",
                    "color": "#eeeeec"
                }

安装谷歌验证码:composer require sijad/flarum-ext-recaptcha
修改vendor/sijad/flarum-ext-recaptcha/js/forum/dist/extension.js 53行为以下内容

            $.getScript('https://www.recaptcha.net/recaptcha/api.js?hl=' + app.locale + '&render=explicit', function () {

启用插件

一个一个启动,一个一个等待,关键是耐心。可能我服务器不行。

后台设置、插件设置

如有必要,更新缓存

php flarum cache:clear
一个字,慢。

have enjoy!