2023-11-03 17:25:27 -04:00
|
|
|
# Python lib
|
2023-11-03 17:26:25 -04:00
|
|
|
A python lib to interract with the api more easier
|
2023-11-03 17:25:27 -04:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
- Clone the project:
|
|
|
|
``` bash
|
|
|
|
git clone https://git.chauvet.pro/michel/ft_transcendence
|
|
|
|
cd ft_transcendence
|
|
|
|
git switch python-api
|
|
|
|
```
|
|
|
|
- Create python virtual environnement.
|
|
|
|
``` bash
|
|
|
|
python3 -m venv .env
|
|
|
|
```
|
|
|
|
- Source the environnement.
|
|
|
|
``` bash
|
|
|
|
source .env/bin/activate
|
|
|
|
```
|
|
|
|
- Install the requirements
|
|
|
|
``` bash
|
|
|
|
pip install -r requirements.txt
|
|
|
|
```
|