Skip to content

Commit

Permalink
Merge pull request #6 from true-runes/update_readme
Browse files Browse the repository at this point in the history
Add a detail description to README.md
  • Loading branch information
nikukyugamer authored Jun 7, 2020
2 parents 4520696 + 5a74ab0 commit f81f51d
Showing 1 changed file with 9 additions and 0 deletions.
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` の権限でアクセスできる必要がある
- つまりスプレッドシートごとにリポジトリを作る必要がある
- 開発用と本番用の場合はこの限りではない

0 comments on commit f81f51d

Please sign in to comment.