@learninglocker/xapi-activities

A server for xAPI activities

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@learninglocker/xapi-activities
4.4.45 years ago6 years agoMinified + gzip package size for @learninglocker/xapi-activities in KB

Readme

xAPI activities
A server for xAPI activities

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 activities service, you can follow the instructions below.
  1. Clone the repository git clone git@github.com:LearningLocker/xapi-activities.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 activities service.
  • Create a ".env" file using the ".env.example" file in this Github repository.
  • Pull the image from DockerHub docker pull learninglocker/xapi-activities:latest.
  • Run the image in a container docker run -d -p 8080:80 --env-file .env learninglocker/xapi-activities:latest.