This is the repository for the script that runs on the mentor computer in the SSE Lab!
Run this one-liner to download and install the latest release:
curl -fsSL https://raw.githubusercontent.com/rit-sse/mentor-script/main/install.sh | bashThis will install mentor-script to /usr/local/bin so you can run it from anywhere.
- Download the latest release binary for your platform from the releases page
- Move it to
/usr/local/bin/mentor-script - Make it executable:
chmod +x /usr/local/bin/mentor-script
If you want to run from source:
git clone https://github.com/rit-sse/mentor-script.git
cd mentor-script
./run.shCreate "config.json" in the mentor script directory (/usr/local/bin/). It should use this format:
{
"mentor_text": "Hello Mentor!",
"hourly_link": "HOURLY_GOOGLE_FORMS",
"thirty_link": "30_MIN_GOOGLE_FORMS"
}Create "links.json" in the mentor script directory. Here is layout that it should follow:
{
"MENTORSCRIPT_EVERYHOUR_URL": "HOURLY_GOOGLE_FORMS",
"MENTORSCRIPT_EVERY30_URL": "30_MIN_GOOGLE_FORMS",
"SONG_FOLDER": "./songs",
"MENTOR_TEXT": "Hello Mentor!"
}NOTE: If you are doing adjustments on the mentor script, it is HIGHLY recommended to create a branch to do updates before bringing it to the main branch. The mentor script runs the auto-updater first to check for any changes on the main branch before launching the mentor script.
When you are done with adjusting the mentor script, create a pull request and ask the Tech Head to review!