https://github.com/vortex2jm/monitoring-script
https://github.com/vortex2jm/monitoring-script
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/vortex2jm/monitoring-script
- Owner: vortex2jm
- Created: 2023-07-15T21:55:44.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-15T21:58:42.000Z (almost 2 years ago)
- Last Synced: 2023-07-15T22:30:01.408Z (almost 2 years ago)
- Language: Go
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PET monitoring script :gear:
## Requirements :arrow_down:
- Get your credentials in **Google Cloud Console** and put it in root directory.
- Normally the credentials file has another name, so you have to rename file as *credentials.json*.
- Before download your credentials, activate **Drive**, **Classroom** and **Sheets** Api's in your project.
- You must have **docker** and **docker-compose** latests versions installed in your machine.
- You must create an empty spreadsheet in Google Drive and get its ID.## Usage :computer:
- To use script just type the command below and follow instructions in your terminal:
```bash
make
```
- Docker images will be pulled for your machine and dependencies will be installed.
- Two links will appear into your terminal. So you have to click them and accept all authentications. These authentications will let the script run in your google drive.## Removing :wastebasket:
- After use script, type command below:
```bash
make clean
```
- It will turn off the application and remove some containers.
- Maybe there's a container and an image left in your docker. You can delete them manually.