xapi-agents
v3.0.4
Published
A server for xAPI agents
Downloads
570
Readme
xAPI Agents
A server for xAPI agents
Learning Locker is a trademark of HT2 Inc.
Installation
To install all of Learning Locker, see the installation documentation. To install just the xAPI agents service, you can follow the instructions below.
- Clone the repository
git clone [email protected]:LearningLocker/xapi-agents.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 agents service.
- Create a ".env" file using the ".env.example" file in this Github repository.
- Pull the image from DockerHub
docker pull learninglocker/xapi-agents:latest
. - Run the image in a container
docker run -d -p 8080:80 --env-file .env learninglocker/xapi-agents:latest
.