Skip to content

traPtitech/piscon-portal-v2

Folders and files

NameName
Last commit message
Last commit date
Feb 22, 2025
Feb 3, 2025
Feb 14, 2025
Feb 14, 2025
Jan 28, 2025
Jan 14, 2025
Feb 14, 2025
Jan 28, 2025
Jan 7, 2025
Dec 30, 2024
Jan 14, 2025
Feb 9, 2025
Jan 14, 2025
Jan 14, 2025
Dec 16, 2024
Feb 9, 2025
Feb 8, 2025

Repository files navigation

piscon-portal-v2

開発環境

プロジェクトルートディレクトリに以下のように .env ファイルを用意してください。CLIENT_IDCLIENT_SECRETはtraQのものです。

DB_USER=root
DB_PASSWORD=password
DB_HOST=localhost
DB_PORT=3306
DB_NAME=portal

ROOT_URL=http://localhost:8080

SESSION_SECRET=secret

CLIENT_ID=my-client-id
CLIENT_SECRET=my-client-secret

traQで作成するClientは リダイレクトURL に http://localhost:8080/api/oauth2/callback、スコープに openid, profile を指定します。 task run-server で portal server が 8080番 ポートで起動します。

protobuf について

proto/README.md を参照してください。