- Install pip if you don't have it already.
- Install Python3 if you don't have it already
- Install Git if you don't have it already
- Install FFmpeg if you don't have it already
- Open a terminal
- Run
git clone https://github.com/fle-internal/te-sushi-chef
thencd te-sushi-chef
- Create a Python3 virtual env
virtualenv -p python3 venv
and activate it usingsource venv/bin/activate
- Run
pip install -r requirements.txt
You will need an authorization token to create a channel on Kolibri Studio. In order to obtain one:
- Create an account on Kolibri Studio.
- Navigate to the Tokens tab under your Settings page.
- Copy the given authorization token (you will need this for later).
- Open te-sushi-chef/chefdata/data.py
- Change
SOURCE_DOMAIN
to your name (you only need to change this once) - Change
SOURCE_ID
to some unique identifier for the channel
- Change
- For English channel run
./te_chef.py -v --reset --token=<token> lang=en
, replacing<token>
with the token you copied earlier - For French channel run
./te_chef.py -v --reset --token=<token> lang=fr
, replacing<token>
with the token you copied earlier