Learning Locker is a trademark of Learning Pool
Do not use sudo for any of these installations or commands. If you're working on Learning Locker Enterprise, please make sure you've followed the Enterprise Development Setup first.
cd ~/Documents.git clone git@github.com:LearningLocker/xapi-service.git.cd xapi-service.yarn.yarn build or yarn build --watch if you want to make changes.docker-compose up -d. If you've followed the Enterprise setup instructions already you won't need to do this.yarn start or yarn start:dev if you want to make changes.Before you follow these instructions you may want to exit your yarn start command above with Ctrl + C. This ensures that the running app doesn't interfere with your testing by using Mongo and Redis.
yarn --frozen-lockfile.docker-compose up -d. If you've followed the Enterprise setup instructions already you won't need to do this.yarn lint.yarn build.yarn test-local.docker-compose down. Use -v at the end to delete data.To install all of Learning Locker, see the installation documentation. To install just the xAPI service, you can follow the instructions below.
git clone git@github.com:LearningLocker/xapi-service.git.cd xapi-service.yarn --frozen-lockfile.yarn build.yarn start.You can use the steps below to install and run the xAPI service.
docker pull learninglocker/xapi-service:latest.docker run -d -p 8080:80 --env-file .env learninglocker/xapi-service:latest.$ claude mcp add xapi-service \
-- python -m otcore.mcp_server <graph>