Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a detail description to README.md #6

Merged
merged 1 commit into from
Jun 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,12 @@ Spreadsheet (Suikoden election 2020)

# GAS Template
A GAS template is powered by [howdy39/gas-clasp-starter: A starter template for Google Apps Script by clasp](https://github.com/howdy39/gas-clasp-starter)

# 手順
- あらかじめ `$ clasp login` を行って `~/.clasprc.json` を作っておく必要がある
- `.clasp.sample.json` をもとにして `.clasp.json` を作成する
- `"scriptId"` の値には、スプレッドシートの URL の以下の部分の値を設定する
- `https://docs.google.com/spreadsheets/d/ここの値/edit#gid=0`
- 当該スプレッドシートには `~/.clasprc.json` の権限でアクセスできる必要がある
- つまりスプレッドシートごとにリポジトリを作る必要がある
- 開発用と本番用の場合はこの限りではない