Framework Setup
Last updated
Last updated
After you have finished all previous setup steps, you can finally start exploring the framework.
To do so, open a Terminal window and navigate (using the cd
command) to the folder of the framework that you have cloned from your GitHub repository (remember to use the WSL terminal if you are on Windows). If you have not given a different name as part of the clone
command, the folder should have the same name as your repository.
Navigate to the directory of the cloned GitHub repository and execute the following:
To load the lab framework in PyCharm, open the project folder via File → Open. For WSL, make sure the project is located under the Linux filesystem and not on a Windows drive.
Navigate to File → Settings → Project <your project name> → Python interpreter. In this menu, select the computer-networks-lab
conda environment.
Whenever opening a new terminal, make sure that the Miniconda environment is enabled. You can check this by examining your shell prompt to include (computer-networks-lab)
as a prefix:
If this is not the case, run the following command to activate the conda environment. You might need to do this for every new shell instance you open (every new terminal):
You may now execute any assignment by using the following syntax in the terminal:
For example, to run the chat client assignment, you may run python -m a1_chat_client
.