xAPI service





Learning Locker is a trademark of HT2 Inc.
$3
To install all of Learning Locker, see the
installation documentation. To install just the xAPI service, you can follow the instructions below.
1. Clone the repository git clone git@github.com:LearningLocker/xapi-service.git.
1. Install dependencies npm install.
1. Build the code npm run build.
1. Start the server npm start.
$3
1. Follow
the installation procedure.
1. Make your changes to the "src" directory.
1. Build the code
npm run build.
1. Test the code
npm run test-all.
1. Run the server
npm start.
$3
You can use the steps below to install and run the xAPI service.
- Create a ".env" file using the ".env.example" file in this Github repository.
- Pull the image from DockerHub docker pull learninglocker/xapi-service:latest.
- Run the image in a container docker run -d -p 8080:80 --env-file .env learninglocker/xapi-service:latest.