OnTaskify is a utility to assist the use of OnTask to provide personalised feedback to students at scale, based on their Canvas activity traces. For details of the UTS:CIC OnTask project see https://cic.uts.edu.au/tools/ontask/
- Angular
- Terraform (for AWS deployment)
- Clone the repository.
- For local development:
- Copy
proxy.conf.json.template
toproxy.conf.json
. - Specify your Canvas domain in the copied file.
- Copy
- Terraform scripts are provided for deploying the Angular app to AWS S3, with a CloudFront distribution.
- Ensure the Canvas origin is added to address CORS issues by proxying requests to the Canvas instance from the same domain.
Follow these steps to configure and use Terraform for managing our infrastructure:
cd terraform
Copy the terraform.template.tfbackend
file to a new file named terraform.tfbackend
. Edit this new file to include your specific backend configuration.
Create a terraform.tfvars
file with your AWS credentials and project-specific variables. Replace the placeholders with your actual details:
aws_access_key = "your_aws_access_key"
aws_secret_key = "your_aws_secret_key"
aws_region = "your_aws_region"
ontaskify_bucket = "my-ontaskify"
ontaskify_name = "Ontaskify"
ontaskify_domain = "my-ontaskify.utscic.edu.au"
ontaskify_certificate_arn = "your_certificate_arn"
canvas_domain = "my-canvas.domain"
Important: Do not commit terraform.tfvars
to your version control system.
Initialize Terraform to set up the necessary providers and backend:
terraform init -backend-config=terraform.tfbackend
Apply the Terraform configuration to create or update the infrastructure:
terraform apply
Use other Terraform commands as needed for different operations:
terraform plan
to preview changes.terraform destroy
to remove resources.
Note: Ensure Terraform is installed and configured correctly on your system. Familiarize yourself with the Terraform files and documentation to understand the infrastructure being managed.
This project was generated with Angular CLI version 16.0.0.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.
- On the home screen, follow the instructions to obtain a Canvas access token.
- Paste the token into the app.
- Select a course from the list of courses you have access to.
- View the base table of students featuring columns:
student_id
,first_name
,last_name
,email
. - Add additional columns by selecting a data source for each new column.
- Export the final table to CSV as needed.
- Toggle column visibility by interacting with the column names.
This project is licensed under the MIT License.
UTS:CIC (Connected Intelligence Centre @ University of Technology, Sydney)
OnTaskify: Streamlining feedback in education with innovative technology.