Skip to content

Commit a74cc6f

Browse files
move IDs to readme
1 parent 2360345 commit a74cc6f

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

marking_and_admin/Setting up a new year.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ The file `marking_puller_2.py` is the entry point.
77
- in Google drive, make a copy of last year's _Details & marking 2022_ file.
88
- update the `MARKING_SPREADSHEET_ID` const with the ID from that new spreadsheet's URL.
99

10+
In the past, the ID of the spreadsheet was hardcoded into the file. Now it's in the Codespace's env.
11+
12+
```
13+
MARKING_SPREADSHEET_ID = "1wtTAM7A--ka7Lnog43L6jjo9kMCnDElCrTOBllEg4dA" # 2019
14+
MARKING_SPREADSHEET_ID = "1AjDu51VX26bIcLNMsr2iHq2BtrNEj91krxWKqjDW5aA" # 2020
15+
MARKING_SPREADSHEET_ID = "17KKMNIseRSo9IVNp-iaUCyEqbAR9tTYAcegzcvVgJFM" # 2021
16+
MARKING_SPREADSHEET_ID = "16tESt_4BUf-9-oD04suTprkd1O0oEl6WjzflF_avSKY" # 2022
17+
MARKING_SPREADSHEET_ID = "1DPBVy9DiVkdFBArOTRtj3L--f62KTnxyFFZrUXrobV0" # 2023
18+
```
19+
1020
## To mark work for the first time
1121

1222
- if this is a new computer, run `git config --global url."https://github.com/".insteadOf [email protected]:` or the git library will have a tantrum
@@ -22,4 +32,3 @@ The file `marking_puller_2.py` is the entry point.
2232
TODO:
2333

2434
- congratulate everyone who has a full set of passing tests
25-

marking_and_admin/marker.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@
88

99
from mark_functions import do_the_marking
1010

11-
# The ID and range of a sample spreadsheet.
12-
# MARKING_SPREADSHEET_ID = "1wtTAM7A--ka7Lnog43L6jjo9kMCnDElCrTOBllEg4dA" # 2019
13-
# MARKING_SPREADSHEET_ID = "1AjDu51VX26bIcLNMsr2iHq2BtrNEj91krxWKqjDW5aA" # 2020
14-
# MARKING_SPREADSHEET_ID = "17KKMNIseRSo9IVNp-iaUCyEqbAR9tTYAcegzcvVgJFM" # 2021
15-
# MARKING_SPREADSHEET_ID = "16tESt_4BUf-9-oD04suTprkd1O0oEl6WjzflF_avSKY" # 2022
16-
# MARKING_SPREADSHEET_ID = "1DPBVy9DiVkdFBArOTRtj3L--f62KTnxyFFZrUXrobV0" # 2023
1711
MARKING_SPREADSHEET_ID = os.getenv("GOOGLE_SHEETS_KEY", "")
1812

1913

0 commit comments

Comments
 (0)