| ページ一覧 | ブログ | twitter |  書式 | 書式(表) |

MyMemoWiki

差分

ナビゲーションに移動 検索に移動
!コマンド
!概要
|-
|gcloud components update
|インストールされたコンポーネントを全て最新化する
|-
|[https://cloud.google.com/sdk/gcloud/reference/init?hl=ja gcloud init]
======Homebrew======
<pre>
$ brew install --cask install google-cloud-sdk
</pre>
*.bash_profileに追記
if [ -f '/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.bash.inc' ]; then . '/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.bash.inc'; fi
</pre>
======importlib util エラーの場合=====
*https://stackoverflow.com/questions/64010263/attributeerror-module-importlib-has-no-attribute-util
*.bash_profile に export CLOUDSDK_PYTHON=python2
====カスタムドメイン====
*https://cloud.google.com/appengine/docs/standard/python/console/using-custom-domains-and-ssl
 
===認証===
----
====[https://www.typea.info/blog/index.php/2020/12/01/vscode_java_maven_firestore/ Google Cloud Platform の認証の設定]====
----
*認証ファイルのダウンロード、GCPの管理ページ、IAM から、サービスアカウント鍵を作成で、JSON形式でダウンロード
*認証ファイルを環境設定
*保存してPATH を環境変数にexport ~/.bash_profile
**export GOOGLE_APPLICATION_CREDENTIALS=”/home/user/Downloads/service-account-file.json”
==[[Python]]環境==

案内メニュー