Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 661 Bytes

gcloud.md

File metadata and controls

19 lines (13 loc) · 661 Bytes

gcloud

notice

  • docker container から 別の docker container に接続する場合、localhost ではなく、そのコンテナの名前で接続する必要がある。
  • gcloudコマンドを使ってdeployするとINSTANCE_UNIX_SOCKETの接続確認ができないので、ブラウザからデプロイしたほうが原因切り分けしやすい。

sql

create user

  1. create office
  2. create hashed_password go run ./cmd user password "plain_password"
insert into users (id, office_id, name, password, role)
VALUES (1, 1, 'admin-reiya', 'hashed_password', 'admin');