xapi-activities
v3.0.6
Published
A server for xAPI activities
Downloads
137
Readme
xAPI activities
A server for xAPI activities
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.
- Clone the repository
git clone [email protected]:LearningLocker/xapi-activities.git
. - Install dependencies
npm install
. - Build the code
npm run build
. - Start the server
npm start
.
Development
- Follow the installation procedure.
- Make your changes to the "src" directory.
- Build the code
npm run build
. - Test the code
npm run test-all
. - 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
.