{"id":16598584,"url":"https://github.com/snickerjp/handson-codespaces-line-gcp","last_synced_at":"2026-03-18T20:49:07.947Z","repository":{"id":56011837,"uuid":"314739286","full_name":"snickerjp/handson-codespaces-line-gcp","owner":"snickerjp","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-12T01:22:35.000Z","size":401,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-17T06:06:32.683Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/snickerjp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-21T05:19:42.000Z","updated_at":"2020-12-01T09:53:35.000Z","dependencies_parsed_at":"2024-11-16T12:51:14.124Z","dependency_job_id":null,"html_url":"https://github.com/snickerjp/handson-codespaces-line-gcp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"vscodejp/handson-codespaces-line-gcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snickerjp%2Fhandson-codespaces-line-gcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snickerjp%2Fhandson-codespaces-line-gcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snickerjp%2Fhandson-codespaces-line-gcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snickerjp%2Fhandson-codespaces-line-gcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snickerjp","download_url":"https://codeload.github.com/snickerjp/handson-codespaces-line-gcp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242394443,"owners_count":20120940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T00:09:01.701Z","updated_at":"2025-12-24T03:41:28.340Z","avatar_url":"https://github.com/snickerjp.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 作成手順\n\n1. LINE ログインチャネルを作成し、LIFFを作成する（LIFFのエンドポイントURLは仮URLを入力して、LIFF IDをメモする）  \nhttps://developers.line.biz/ja/services/line-login/\n\n2. Google Cloud のプロジェクトを新規作成する  \nhttps://console.cloud.google.com/cloud-resource-manager?hl=ja\u0026_ga=2.177002531.707716914.1602916550-1618091733.1601092088\n\n3. Cloud Build を有効にする  \nhttps://console.cloud.google.com/marketplace/product/google/cloudbuild.googleapis.com?returnUrl=%2Fcloud-build%3Fhl%3Dja%26organizationId%3D0%26project%3Dvscode-293013\u0026hl=ja\u0026organizationId=0\n\n4. 下記リポジトリをForkする  \nhttps://github.com/mochan-tk/vscode-gcp-line.git\n\n5. Github Codespaces を作成する  \n\n6. GCPにログインし、SDKを承認します  \ngcloud init\n\n7. Cloud Storage を作成（バケット名は一意になるようにして、[gs://]以外をメモします）し公開する  \ngsutil mb -b on -l asia-northeast1 gs://xxx-image-bucket  \ngsutil iam ch allUsers:objectViewer gs://xxx-image-bucket\n\n8. Cloud Code の拡張機能 Cloud Run Explorer から Cloud Run を有効にする  \n\n9. Cloud Code の拡張機能 から Deploy to Cloud Run を選択する  \nregionに「asia-northeast1 (Tokyo)」を選択  \nShow Advanced Settings \u003e ENVIRONMENT VARIABLES で下記を入力  \nMY_LIFF_ID:xxx  \nGCLOUD_STORAGE_BUCKET:xxx\n\n10. 「Deploy」ボタンを押す  \n「Make sure all fields are correct to continue」と出る時あるがもう1度ボタンを押す  \n\n11. Cloud Run にデプロイが完了したら、URLが発行されるので、LIFFのエンドポイントURLをかきかえます  \n\n12. LIFF URL から動作確認します  \n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnickerjp%2Fhandson-codespaces-line-gcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnickerjp%2Fhandson-codespaces-line-gcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnickerjp%2Fhandson-codespaces-line-gcp/lists"}