-
Notifications
You must be signed in to change notification settings - Fork 1
環境変数にAPIキーを設定する
kirisawa edited this page Dec 16, 2019
·
3 revisions
APIキーはslackの2019_kanazawa_app_gitにあります。
vi ~/.config/fish/config.fish
// 以下のフォーマットでキーを追加
set -x API_KEY XXXXXXXXXXXXXXXXXXX
vi ~/.bash_profile
// 以下のフォーマットでキーを追加
export API_KEY="XXXXXXXXXXXXXXXXXXX"
vi ~/.zshrc
export API_KEY="XXXXXXXXXXXXXXXXXXX"
source ~/.config/fish/config.fish
// or
source ~/.bash_profile
// or
source ~/.zshrc
設定されたか確認
echo $API_KEY
open /Applications/Android\ Studio.app/
これでマップが表示される。