Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 959 Bytes

README.md

File metadata and controls

44 lines (31 loc) · 959 Bytes

ADL xAPI / Medbiquitous Competency Example

Requirements

  • Python 2.7
  • Mongo DB
  • lxml

Installing (Ubuntu)

  1. Install the system dependencies

    $ sudo apt-get install git python-pip mongodb-server libxml2-dev libxslt1-dev zlib1g-dev python-dev
  2. Set up the development environment

    $ sudo pip install --upgrade pip
    $ sudo pip install virtualenv
    
    $ git clone https://github.com/adlnet/competency-example.git
    $ cd competency-example
    $ virtualenv env
    $ source env/bin/activate
    $ pip install -r requirements.txt
  3. Configuration

    Edit the settings.py in the util directory. Enter valid xAPI endpoint credentials. I pointed to the public LRS with my LRS username and password:

    https://lrs.adlnet.gov/xAPI/statements

Running

$ cd competency-example
$ source env/bin/activate
$ python main.py

To leave the virtualenv: $ deactivate