Skip to content

processcomplete/xapi-service

 
 

Repository files navigation

xAPI service

Build Status Renovate badge semantic-release Join the chat at https://gitter.im/LearningLocker/learninglocker

Learning Locker is a trademark of HT2 Inc.

Installation

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 [email protected]:LearningLocker/xapi-service.git.
  2. Install dependencies npm install.
  3. Build the code npm run build.
  4. Start the server npm start.

Development

  1. Follow the installation procedure.
  2. Make your changes to the "src" directory.
  3. Build the code npm run build.
  4. Test the code npm run test-all.
  5. Run the server npm start.

Docker

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.

Packages

No packages published

Languages

  • TypeScript 93.1%
  • JavaScript 4.8%
  • Shell 1.5%
  • Dockerfile 0.6%