Skip to content

Commit d75c808

Browse files
ravernjloh02
andauthored
Update maintenance guide with CPEx instructions (#3834)
* update maintenance guide w cpex * Update docs to ensure all master push to prod --------- Co-authored-by: Jonathan Loh <[email protected]>
1 parent 73696d9 commit d75c808

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

MAINTENANCE.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,26 @@ Reference PRs: [PR #3286](https://github.com/nusmodifications/nusmods/pull/3286)
2222
- [ ] Update semester in `website/src/config/app-config.json`
2323
- [ ] In `app-config.json`, add semester to `examAvailability` to indicate exam information is available for the semester
2424
- [ ] Update the ModReg schedule in `website/src/data/modreg-schedule.json`, and make sure the correct version is pointed to in `website/src/config/index.ts`
25-
- Reference PR: [PR #2764](https://github.com/nusmodifications/nusmods/pull/2764)
25+
- Reference PR: [PR #2764](https://github.com/nusmodifications/nusmods/pull/2764)
26+
27+
## CPEx
28+
29+
- Before
30+
- [ ] Update `TERM` in `scrapers/cpex-scraper/src/index.ts` and `MPE_SEMESTER` in `website/src/views/mpe/constants.ts` to be the semester you're configuring CPEx for (usually the next semester)
31+
- [ ] Update the displayed dates in `website/src/views/mpe/MpeContainer.tsx` and any new requirements/descriptions
32+
- [ ] Enable the `enabledCPEx` flag in `website/src/featureFlags.ts`
33+
- [ ] Add a new entry in the ModReg schedule in `website/src/data/modreg-schedule.json`
34+
- Reference PR: [PR #3832](https://github.com/nusmodifications/nusmods/pull/3832)
35+
- [ ] Once merged into `master`, visit https://latest.nusmods.com/cpex and verify that NUS authentication is working
36+
- [ ] Deploy latest `master` to `production`
37+
- [ ] Prepare PR to enable the `showCPExTab` flag in `website/src/featureFlags.ts`
38+
- During
39+
- [ ] Enable the `showCPExTab` flag in `website/src/featureFlags.ts`
40+
- [ ] Merge into `master`
41+
- [ ] Deploy latest `master` to `production`
42+
- [ ] Prepare PR to disable the `enabledCPEx` and `showCPExTab` flags in `website/src/featureFlags.ts`
43+
- After
44+
- [ ] Disable the `enabledCPEx` and `showCPExTab` flags in `website/src/featureFlags.ts`
45+
- [ ] Remove CPEx from the ModReg schedule in `website/src/data/modreg-schedule.json`
46+
- [ ] Merge into `master`
47+
- [ ] Deploy latest `master` to `production`

0 commit comments

Comments
 (0)