From c3c85d5c1ac85918d7a308ac68628427a9d942f0 Mon Sep 17 00:00:00 2001 From: Weston Dransfield Date: Wed, 21 Apr 2021 11:57:09 -0600 Subject: [PATCH] Add a few notes/changes around setup Test Plan: - the .dev_setup script works without a .env file previously existing --- README.md | 2 +- script/developer-setup.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 script/developer-setup.sh diff --git a/README.md b/README.md index c990e1c..55ceeef 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ docker-compose run web rails db:migrate ## Installing in Canvas -1. Create a developer key in Canvas. The "Vendor code" should be set to `Instructure.com` +1. Create a developer key in Canvas. The "Vendor code" should be set to `Instructure.com`. The "Redirect URIs" can be set to any valid URI, this property not used in the context of the plagiarism platform. The key should be unscoped. 2. Create a .env file in the lti_originality_report_example project with the following lines: ``` diff --git a/script/developer-setup.sh b/script/developer-setup.sh old mode 100644 new mode 100755 index ce2d6f2..ca79876 --- a/script/developer-setup.sh +++ b/script/developer-setup.sh @@ -1,5 +1,7 @@ #!/bin/sh +touch .env + # Sets up the project for development using Docker and docker-compose. # Use the example override file.