- Ruby 2.5.1
- MySQL / MariaDB
- Canvas LMS
Under "config" you find a couple of "*_sample.yml" files. The "_sample" part has to be removed and the file populated with your configuration details:
- "google_analytics" allows you to specify if you want to use Google Analytics and your individual ID.
- "learner_banner" allows you to specify a piece of HTML that gets displayed in the right upper corner (learner role only).
- Allows you to configure your database per environment. The sample configuration is using MySQL / MariaDB.
- Defines your LTI consumer key and secret to be used within Canvas. It also defines your "secret_key_base" which is used to identify the integrity of signed cookies.
- Defines the URL, the API prefix (usually "api/v1/") and the API token (needs Admin access) of your instance of Canvas LMS. This setting is needed to connect to Canvas to gather group memberships and to sync with the grade book.
- vagrant (https://www.vagrantup.com/)
- virtualbox (https://www.virtualbox.org/)
- vagrant plugin vbguest (https://github.com/dotless-de/vagrant-vbguest)
- Go to project root directory
- Run "vagrant up"
- Invoke LTI with the the port vagrant gave you (default: 3000, cahnges if already taken); http:///localhost:YOUR_PORT/
- Appropriate parameters have to be given for lis_person_sourcedid, roles, ext_lti_assignment_id, resource_link_title, custom_canvas_course_id, custom_canvas_assignment_id and launch_presentation_document_target
- NOTE: The course and assignment ID have to exist in your installation of Canvas. Instructors see the admin interface, students see only the student interface.
- Run "bundle install" to install all dependencies.
- The file "db/migrate/20180824014659_base_migration.rb" contains the standard questions defined for our institution. Feel free to create a new migration to delete our questions and define your own.
- Run "rake db:create" and "rake db:migrate" to configure the database structure.
After SPLAT is deployed to your environment, it needs to be configured in Canvas LMS.
- Add a new LTI pointing to your deployed instance of SPLAT and use the credentials defined in "secrets.yml".
- Create a new assignment within Canvas and select SPLAT as an external tool.
- Once you save it, SPLAT should launch and you'll be able to configure your questions and then import a groupset from Canvas.
- After the assignment is configured, your students can submit their ratings and an instructor can manage the assignment (see results, remove a submission, notify students who haven't submitted yet, or integrate with Canvas grade book).
Please see https://myuni.adelaide.edu.au/courses/24800/pages/self-and-peer-learning-and-assessment-tool-splat-staff-user-guide for a detailed staff user guide
Please consider forking this project and contributing via pull requests.