This file is part of Totara Learn

Copyright (C) 2020 onwards Totara Learning Solutions LTD

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

@author Vernon Denny <vernon.denny@totaralearning.com>
@package ml_recommender


Linux

Python and Package Manager
--------------------------
apt update
apt install python3
apt install python3-pip
apt install python3-wheel
apt install python3-venv
apt install python3-dev
python3 -m venv venv_docker

In Totara root
--------------
. venv_docker/bin/activate

Python Requirements
-------------------
pip3 install setuptools
pip3 install --upgrade pip
pip3 install --upgrade setuptools
pip3 install -r requirements.txt

Set the python executable location in Totara Engage recommender admin to the absolute path of totara_root_directory/'venv_docker/bin/python3'
