You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-14Lines changed: 15 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,17 +57,18 @@ Automatically logs:
57
57
To set up the project, follow these steps:
58
58
59
59
1. Clone the repository.
60
-
2. Create a new Google Sheet.
61
-
3. Insert the following headers in the first row: `Date`, `Start time`, `End time`, `Gross working time`, `Break time`, `Net working time`, `Difference target / actual`.
62
-
4. In cell `H:1`, insert the calculation of your time credit: `=SUM(G:G;G1)`.
63
-
5. Delete all empty rows.
64
-
6. In Google Sheet, go to `Extensions` -> `Apps Script`.
65
-
7. Paste the contents of `./js/apps_script.js` into the editor.
66
-
8. In the Apps Script Editor, update the `SPREADSHEET_ID` variable with the ID of your Google Sheet (part of the URL).
67
-
9. Deploy the script as a web app by clicking the `Deploy` button and selecting `New deployment`.
68
-
10. Copy the URL of the web application and update the `APPS_SCRIPT_URL` variable in `./js/script.js` with this URL.
69
-
11. (Optional) Customize the `PLANNED_WORK_DAY_HOURS`, `FIRST_BREAK_THRESHOLD_HOURS`, `FIRST_BREAK_MINUTES`, `SECOND_BREAK_THRESHOLD_HOURS` and `SECOND_BREAK_MINUTES` variables in `./js/script.js` to fit your needs.
70
-
12. (Optional) Copy the files (except `./screenshots/` and `README.md`) to a web server of your choice.
71
-
13. Visit the web server's URL in your browser OR open the `index.html` file in your browser.
72
-
14. Start tracking your working hours by clicking the `Start` button. A new row will be added to your Google Sheet with the current date and time.
73
-
15. Click the `Stop` button to stop tracking your working hours. The end time will be added to the row in your Google Sheet.
60
+
2. Copy `./js/config.template.js` to `./js/config.js`
61
+
3. Create a new Google Sheet.
62
+
4. Insert the following headers in the first row: `Date`, `Start time`, `End time`, `Gross working time`, `Break time`, `Net working time`, `Difference target / actual`.
63
+
5. In cell `H:1`, insert the calculation of your time credit: `=SUM(G:G;G1)`.
64
+
6. Delete all empty rows.
65
+
7. In Google Sheet, go to `Extensions` -> `Apps Script`.
66
+
8. Paste the contents of `./js/apps_script.js` into the editor.
67
+
9. In the Apps Script Editor, update the `SPREADSHEET_ID` variable with the ID of your Google Sheet (part of the URL).
68
+
10. Deploy the script as a web app by clicking the `Deploy` button and selecting `New deployment`.
69
+
11. Copy the URL of the web application and update the `APPS_SCRIPT_URL` in `./js/config.js` with your URL.
70
+
12. (Optional) Customize the `PLANNED_WORK_DAY_HOURS`, `FIRST_BREAK_THRESHOLD_HOURS`, `FIRST_BREAK_MINUTES`, `SECOND_BREAK_THRESHOLD_HOURS` and `SECOND_BREAK_MINUTES` variables in `./js/config.js` to fit your needs.
71
+
13. (Optional) Copy the files (except `./screenshots/` and `README.md`) to a (static) web server of your choice.
72
+
14. Visit the web server's URL in your browser OR open the `index.html` file directly in your browser.
73
+
15. Start tracking your working hours by clicking the `Start` button. A new row will be added to your Google Sheet with the current date and time.
74
+
16. Click the `Stop` button to stop tracking your working hours. The end time will be added to the row in your Google Sheet.
0 commit comments