This repo includes scripts for wtc-lms
·
Report Bug
·
Request Feature
.
These projects are all built by WeThinkCode Students. Currently LMS is built to run on unix operating systems running a GNOME desktop environment. So for the requirement of LMS, you can't expect the script to work if you don't meet those requirements.
Currently only works on Windows 11
- Clone repository
git clone https://github.com/wethinkcode/student_scrips ~/wtc-scripts
- Change to the directory the repo is now stored.
cd ~/wtc-scripts
-
Run script with bash.
Do not run the script as root (i.e. with sudo)
bash ./install_wtc_lms
- Will be added SOON!!!
run
setup.sh
before use of these scripts
-
Go to
cd ~/
. -
Run:
./update_reviews_info.sh
-
YOU DON'T NEED TO RUN THIS IF YOU DON'T WANT IT. IT'S JUST USED TO HAVE AN EASY WAY TO ACCESS USERNAMES AND HASHES IN ONE PLACE
NOTE: THIS TAKES A WHILE SO RUN IT IN A SEPERATE WINDOW
THIS PUTS OUT THE OUTPUT OF ALL review_details COMMANDS IN A FILE FOR EASY ACCESS TO USERNAMES AND HASHES MIGHT BECOME OBSOLETE IF UNCLE WOLF IMPLEMENTS THE --oneline FEATURE (ಥ﹏ಥ)
-
Open a seperate terminal.
./do_review.sh
-
Give reviewee username (This does nothing, yet, if you didn't run the update_review_details.sh)
-
Give hash for example 0ecf910e-94a2-4b4d-a3d2-7cdace88c069
-
Chrome is now opened with the review guidelines page.
-
It now prompts to sync the folder. Only do this right before the review.
-
VS Code is now opened at the synced directory.
-
At this time you will probably do the actual review
so tab away from the terminal you ran this in. -
When you're done with the review return to this terminal
where you basically need to type in your comment and then grade
which will then be automatically posted. -
After all that the repo is deleted as it would no longer be needed.
-
Open a seperate terminal.
-
Run:
./all_project_history.sh
-
For those that want to see all of their project history for semester 1
-
Open a seperate terminal.
-
Run:
./view_reviews.sh -p "FizzBuzz" -n 2 -a
-
the -n flag is optional to change the amount of reviews you will see, default is 3
-
the -a flag is also optional and instead of showing you the reviews it will ACCEPT them (use with or without the n flag)
-
It is to view available reviews.
-
BEWARE: the -a flag WILL ACCEPT reviews. DO NOT use the -a flag if you just want to view reviews.
-
Otherwise you can run:
./view_reviews -u "username"
-
To view the reviews you have been assigned for that user.
-
Use at own risk. If you mess up your number of accepted reviews, that's on you,
Here are the contributors LinkedIns
-
install_wtc_lms.sh:
. Get script to update wtc-lms if already installed
. Fix WSL error when there is a space seperating a 2 worded username
. Get script to run properly on bare linux
. Get script to run and cleanup multiple install locations of lms (i.e. wtc-lms being stored in /usr/local/bin, /usr/bin, etc)
. Get script to work with different WSL mount points
. More to be expected