Weibo との対話により認証します。
Weibo 経由で Discourse にログインします。
开始接入
。网站域名
には、ルート ドメイン名または特定のドメイン名を入力できます。写真の通り。 (検証に必要なタグは談話設定に挿入でき、検証後に削除できます。談話管理パネル - コンテンツ - ページの上部にアクセスしてください)网站信息
の基本信息
欄を探し、 key
とsecret
を取得し、ディスコース設定に記入します。 app.yml
内
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- mkdir -p plugins
- git clone https://github.com/discourse/docker_manager.git
最後の行- git clone https://github.com/discourse/docker_manager.git
:
- git clone https://github.com/fantasticfears/weibo-login.git
rake plugin:install repo=https://github.com/fantasticfears/weibo-login
開発モードで、 rake assets:clean
実行します。
運用環境では、アセットを再コンパイルします: rake assets:precompile
Discourse ディレクトリでrake plugin:install repo=https://github.com/fantasticfears/weibo-login
を実行します。
開発者モードで、 rake assets:clean
実行します。
本番モードでは、アセットを再コンパイルします。 rake assets:precompile
サイト設定のログイン カテゴリに移動し、クライアント ID とクライアント シークレットを入力します。
サイト設定のログイン カテゴリを入力し、クライアント ID とクライアント選択を入力します。
Discourse Meta または GitHub の問題に関するトピックにアクセスしてください。
中国語フォーラムのスレッドまたは GitHub の問題にアクセスしてください。
現在のバージョン: 0.3.0
0.3.0: uidが正しく保存されないバグを修正しました。