Skip to content

Commit e71eb55

Browse files
authored
Update README for Windows Users (#480)
* Update README * Update README.md Add subheaders to the "For Windows Users" section for readability
1 parent 9992446 commit e71eb55

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,22 @@
1616
For NUS students, you can access your IVLE LAPI key [here](https://ivle.nus.edu.sg/LAPI/default.aspx).
1717

1818
## For Windows Users
19+
20+
### Running cadet-frontend
1921
In package.json, change line 19:\
2022
"start-js": "rm -r coverage; BROWSER=none PORT=80 react-scripts-ts start",\
2123
to:\
2224
"start-js": "set PORT=80 & react-scripts-ts start",\
2325

26+
### Dealing with hooks
27+
In package.json, change line 28:\
28+
"pre-push": "bash scripts/test.sh",\
29+
to an empty line.
30+
31+
Please note that doing this will disable the test suite, so you will need to run the tests manually instead. Using Git Bash (or any other UNIX-based command line), run the following:\
32+
cd scripts\
33+
bash test.sh
34+
2435
## For Testing of js-slang
2536

2637
### Alpha version

0 commit comments

Comments
 (0)