Skip to content

IGO players & titles information administration tool

License

Notifications You must be signed in to change notification settings

gotoeveryone/gotea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gotea (ゴティー)

Build Status PHP from Packagist CakePHP Version License: MIT GitHub version

囲碁のプロ棋士・棋戦情報を管理します。
CakePHP 4.x を利用しています。

Requirements

  • Docker

Setup

$ cp .env.example .env

Run

$ docker compose up
  • ホストから接続するためのポートは以下
    • http: 8765
    • データベース (MySQL): 3306

Migration

$ docker compose exec backend ./bin/cake migrations migrate

Format check

$ # backend
$ docker compose exec backend composer cs-check

$ # frontend
$ docker compose exec frontend npm run lint

Test

$ # backend
$ docker compose exec backend composer test

$ # frontend
$ docker compose exec frontend npm test

Repl

$ docker compose exec backend ./bin/cake console