CATAPULT
CATAPULT copied to clipboard
Error encountered when launching Course in the CTS
I'm encountering this error when trying to launch a course I uploaded (from course_package) in the AU > Launch
Steps to reproduce:
- Launch the CTS client http://127.0.0.1:3399/client/#/ and login
- Click New Course and upload a course from the course_package directory
- Test the uploaded course, create an Actor
- In the Assignable Units Pane, click Launch
This is my cts/.env configuration
I've read in the other issues that it may need to install an actual LRS, is this also the case here?
As far as I remmember I`ve faced the same problem, and yes the link to actual LRS solved this issue. You can install it locally or use the cloud. I used LRS.io in cloud but that approach produced another kind of problems for me
Easiest local LRS to add locally, then link your other services by adding - lrs
under their depends_on
lrs:
environment:
- LRSQL_API_KEY_DEFAULT=basic_secret
- LRSQL_API_SECRET_DEFAULT=basic_secret
- LRSQL_ADMIN_USER_DEFAULT=basic_secret
- LRSQL_ADMIN_PASS_DEFAULT=basic_secret
- LRSQL_DB_NAME=lrsql.sqlite.db
image: yetanalytics/lrsql
ports:
- "8080:8080"
networks:
- public
Easiest local LRS to add locally, then link your other services by adding
- lrs
under theirdepends_on
lrs: environment: - LRSQL_API_KEY_DEFAULT=basic_secret - LRSQL_API_SECRET_DEFAULT=basic_secret - LRSQL_ADMIN_USER_DEFAULT=basic_secret - LRSQL_ADMIN_PASS_DEFAULT=basic_secret - LRSQL_DB_NAME=lrsql.sqlite.db image: yetanalytics/lrsql ports: - "8080:8080" networks: - public
How did you get this working with lrsql in a docker container? I have the api key and secret key and everything, but somehow i'm unable to launch to courses like in the picture for this issue. Thank you @catmeme