Google Spreadsheet 快速搭建免費資料庫 (上)

上篇: Google App Script 部署網路應用程式

SheiUn
SheiUn
Sep 2, 2018 · 2 min read

事前準備

  1. 一個可以使用的 Google 帳戶
  2. 在 Google Drive 中新增一個 Spreadsheet(試算表)

開始吧!

  1. 進入 Spreadsheet 中點選 工具 > 指令碼編輯器

2. 給 Google App Script 隨便打一個名字

3. 將程式碼改成

function doGet(e) {
return ContentService.createTextOutput("你好世界!");
}

4. 點選 發佈 > 部署為網路應用程式…

5. 將 具有應用程式存取權的使用者 改成 任何人,甚至是匿名使用者

6. 點選 部署

現在你會拿到一個 url(網址)

網址的格式如下:
https://script.google.com/macros/s/一些英數底線組合的字串/exec

連上去之後你就會看到你好世界囉!

記得要去看 下篇 才能了解完整的資料庫建置方法喔!

sheiun

雪煾的日常生活

SheiUn

Written by

SheiUn

I’m studying Management of Information System in NTUST. I love to study many kinds of books. And watch some science channel.

sheiun

sheiun

雪煾的日常生活

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade