Python
Let's install Python! Python is a very easy-to-learn language, that we used to serve the website.
Install uv
uv will be our python version and dependency manager, to handle dependencies of the project.
Here is the usual way to install uv with an automated script. Visit the official installation page for other installation methods.
- Windows
- MacOS/Linux
Run this script in a powershell window:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Run this script in a terminal:
curl -LsSf https://astral.sh/uv/install.sh | sh
Or, if you prefer wget:
wget -qO- https://astral.sh/uv/install.sh | sh
Check that uv is correctly installed with
uv --version
Install Python and dependencies
uv is very easy to use. It will automatically install the right python
version for you and then retrieve all the dependencies with their correct
versions. You need to run the following command and watch the magic.
cd backend # ensure that we are in the correct working directory
uv sync --dev
That's it! You finished to install python, congratulations 🥳