- Python 2.7
- Mongo DB
- lxml
-
Install the system dependencies
$ sudo apt-get install git python-pip mongodb-server libxml2-dev libxslt1-dev zlib1g-dev python-dev
-
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
-
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:
$ cd competency-example
$ source env/bin/activate
$ python main.py
To leave the virtualenv: $ deactivate