The title stands for Google Apps Script - Financial Independence Retire Early. This project helps with google sheets tasks and is used to keep my finances automated.
More info can be found here: https://developers.google.com/apps-script/guides/typescript
You will need to install the clasp tooling (@google/clasp)
-
npm install
First time running clasp? make sure to login first, follow this guide: https://developers.google.com/apps-script/guides/clasp
- Copy the
.env.sample&.clasp.json.sampleexamples and rename then to.envand.clasp.json.
In the .env you will want to add your development and production environment Script IDs.
You can choose to use just one environment if that is what is you have.
To find the Google Apps Script ID for your project:
- Open Apps Script project
- click "Project Settings"
- Under "IDs", copy the Script ID
-
Then run
npm run switch-env <env>to switch between environments. It will simply update your.clasp.jsonwith the script ID for that environment. -
Then you are ready to make changes make your changes
-
npm run build
-
npm run publish (or manually "clasp push")