Note: The Scheduler should be from the same domain as of where the application has been deployed. eg: Only users from the domain ThoughtWorks can schedule, if the application has been deployed in ThoughtWorks Google AppScripts account.
However, the participants can be from any domain, includning GMail users.
- Install Clasp
sudo npm install -g @google/clasp
- Authorise Clasp
clasp login
- This will open authorization page in browser
- Choose relevant google account and authorize clasp
- Check status with
clasp login --status
- Enable Google App Scripts API in your account
- Create your Clasp project
clasp create --type webapp --title "Feedback Scheduler"
- Push the changes
clasp push
(This makes deployments to the head) - Open the application in browser
clasp open --webapp
(Select Head deployment)
- Add Typescript stub in WebStorm
WebStorm -> Preferences -> Languages & Framework -> Javascript -> Libraries -> Download -> google-apps-scripts
- Save files in
.js
format, clasp will convert to.gs
files will pushing