Coder Social home page Coder Social logo

googleappscripts's Introduction

前提環境

Clasp環境構築

  • ローカル実行の場合
    clasp login
    ブラウザが立ち上がるのでGoogleアカウントにログインする。

  • docker実行の場合

docker-compose build
docker-compose run clasp bash
cd (任意のディレクトリ)
clasp login --no-localhost

URLが表示されるので、(恐らく長くて改行されているので適宜修正する) ブラウザを立ち上げてURLにアクセスし、Googleアカウントにログインする。
その後、表示された文字列をdocker上で貼り付ける。

What is Clasp

gasのダウンロードやデプロイ等がローカルからできるツール https://qiita.com/soundTricker/items/354a993e354016945e44

How to use clasp(cheetSheet)

clone

  1. GASのスクリプト編集画面からファイル->プロジェクトのプロパティより スクリプトIDをコピー
  2. clasp clone [**スクリプトID**]でcurrentのディレクトリへclone

run

※対象APIが実行可能APIとして導入されていること
clasp run [function名]

push

.clasp.jsonのあるディレクトリで
clasp push

googleappscripts's People

Contributors

nisioka avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.