I used Mysql to store user-related data, so the specific usage method is to first install Mysql/MariaDB, execute the Sql script to create the database; then configure distrust.yml, set the database-related content, and then execute distrust genkey to generate the corresponding rsa key; then create a discourse connect provider in the Discourse backend and enter the relevant information.
Then execute
chmod _+x distrust
./distrust
Access your IP:3000/apps to see the application interface.
FTL 데이터베이스 초기화 실패 error=“데이터베이스 마이그레이션 실패: 고유 인덱스 생성 실패: Error 1064 (42000): SQL 구문에 오류가 있습니다. MySQL 서버 버전에 해당하는 매뉴얼을 확인하여 ‘IF NOT EXISTS idx_user_authorizations_user_client \n\t\tON user_authorizations(user’ 근처의 올바른 구문을 사용하세요” at line 1