Going back to Python 3.8 authored by Gabriel Dengler's avatar Gabriel Dengler
......@@ -5,7 +5,7 @@ It is recommended to use **Nginx** in production to serve static content. Other
The commands below are simply an example of how you might install these dependencies. Please consult with your operating system's package manager to determine the correct packages to install.
```
```bash
# Add additional repositories for Redis
add-apt-repository -y ppa:chris-lea/redis-server
......@@ -16,6 +16,13 @@ apt update
apt -y install git build-essential libssl-dev libffi-dev libcap-dev python3-pip python3-dev python3-venv redis-server postgresql postgresql-contrib openjdk-11-jdk
```
Note that the ChiefExam was solely tested on Python 3.8 with the exact packages as denoted in `requirements.txt`. Unfortunately, the APIs of many packages change regularly, so simply changing the versions can cause a lot of mess. As newer Ubuntu versions are usually shipped with newer Python versions, I recommend to install Python 3.8 using `https://launchpad.net/%7Edeadsnakes/+archive/ubuntu/ppa` (see https://askubuntu.com/questions/682869/how-do-i-install-a-different-python-version-using-apt-get):
```bash
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.8
```
## Setting up [isolate](https://github.com/ioi/isolate)
For isolate, you can follow the instruction guides on the website. In short, you have to execute the following commands in your bash:
```bash
......
......