This Bash script automates the submission process for assignments on the Seneca Matrix server. Before running the script, you need to customize it with your professor's information and class details.
-
submit-to-matrix/ │ ├── submit.sh └── README.md
Ensure you have the following:
- Access to a Matrix server account.
- Bash shell installed on your Unix-based operating system (Linux or macOS).
- Clone the repository:
git clone https://github.com/master-tecs/submit-to-matrix.git cd matrix-submission-script
- Customize the Script: Edit the script submit.sh and replace placeholder values with your specific information.
- Open the script file submit.sh in a text editor and replace the following placeholders:
firstname="prof_firstname" # Replace with your professor's first name lastname="prof_lastname" # Replace with your professor's last name classCode="2??" # Replace with your subject code (e.g., 124, 244, 222) sectionCode="SSS" # Replace with your section code (e.g., naa, nbb, nra, zaa)
- Run the script:
./submit.sh <workshop_number> <part_number>
Replace <workshop_number> with the workshop number and <part_number> with the part number.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (git checkout -b feature-branch).
- Make your changes.
- Commit your changes (git commit -m 'Add some feature').
- Push to the branch (git push origin feature-branch).
- Open a pull request.
This project is licensed under the MIT License.