A short course with code on basics of QoS and QoE.
Please see individual READMEs in subfolders.
$ git clone https://github.com/jrozhon/qos.git
This will create a folder named "qos" in your current directory.
Based on the instructions given by the lecturer, go to the appropriate folder, i.e. qos-01.
$ cd qos-01
It is considered a best practice to install Python dependencies in the virtual environment to prevent possible changes in the system.
To create one, just issue the following command:
$ python3.11 -m venv venv
This will invoke Python's "venv" module and create a "venv" folder. Inside the folder, there will be all the Python dependencies that we are going to install.
But before we install them, we need to switch ourselves to the virtual environment using the command:
$ source venv/bin/activate
This will activate the environment and change the prompt so that it will be prefixed by "(venv)".
In the folder, there is a "pyproject.toml" file that specifies the project dependencies.
These, together with the current directory's content can be installed using "pip" - Python's package manager.
Just issue the following:
$ pip install .
Important
If the pyproject.toml contains jupyter_bokeh package, then Jupyter needs to be restarted before moving on.
Now, you are ready to go.
As you are probably going to run the code on virtual machines provided in the lab, you are going to need to instruct Jupyter to use other the localhost address. You can achieve it by using "--ip" switch as follows:
$ jupyter lab --ip 0.0.0.0
For more details check the Jupyter's help:
$ jupyter lab --help